<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deneb+alpha</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deneb+alpha"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Deneb_alpha"/>
	<updated>2026-06-04T00:30:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156832</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156832"/>
		<updated>2010-02-09T19:49:26Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:Espressioni regolari in Writer}}&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nel &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;colore|colori&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;colore&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;colori&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; seguito da un qualunque carattere e poi da &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - ad esempio &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, ma anche &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; significa che sarà cercato sia &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; sia &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sapere?&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;saper&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;sapere&amp;lt;/b&amp;gt; - la &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; è opzionale perché seguita da un punto interrogativo&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; trova la &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; alla fine di una parola&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; trova la prima lettera di una parola.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; trova la prima lettera di un paragrafo.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; trova un paragrafo vuoto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Espressioni regolari applicate in OpenOffice.org ==&lt;br /&gt;
In OpenOffice.org, le espressioni regolari dividono il testo da ricercare in porzioni, per poi esaminare ogni porzione separatamente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, il testo è suddiviso in paragrafi. Nell&amp;#039;esempio, cercando &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039;, la &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; alla fine del paragrafo e la &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; all&amp;#039;inizio del secondo non saranno visualizzate tra i risultati  (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3_it.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:Regex_howto_3_it.png&amp;diff=156831</id>
		<title>File:Regex howto 3 it.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:Regex_howto_3_it.png&amp;diff=156831"/>
		<updated>2010-02-09T19:13:11Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: utilizzo delle espressioni regolari&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;utilizzo delle espressioni regolari&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156830</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156830"/>
		<updated>2010-02-09T19:10:29Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:Espressioni regolari in Writer}}&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nel &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;colore|colori&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;colore&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;colori&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; seguito da un qualunque carattere e poi da &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - ad esempio &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, ma anche &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; significa che sarà cercato sia &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; sia &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sapere?&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;saper&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;sapere&amp;lt;/b&amp;gt; - la &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; è opzionale perché seguita da un punto interrogativo&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; trova la &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; alla fine di una parola&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; trova la prima lettera di una parola.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; trova la prima lettera di un paragrafo.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; trova un paragrafo vuoto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Espressioni regolari applicate in OpenOffice.org ==&lt;br /&gt;
In OpenOffice.org, le espressioni regolari dividono il testo da ricercare in porzioni, per poi esaminare ogni porzione separatamente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, il testo è suddiviso in paragrafi. Ad esempio, &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3_it.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156554</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156554"/>
		<updated>2010-02-07T23:36:45Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nel &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;colore|colori&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;colore&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;colori&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; seguito da un qualunque carattere e poi da &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - ad esempio &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, ma anche &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; significa che sarà cercato sia &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; sia &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sapere?&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;saper&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;sapere&amp;lt;/b&amp;gt; - la &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; è opzionale perché seguita da un punto interrogativo&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; trova la &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; alla fine di una parola&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; trova la prima lettera di una parola.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; trova la prima lettera di un paragrafo.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; trova un paragrafo vuoto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Espressioni regolari applicate in OpenOffice.org ==&lt;br /&gt;
In OpenOffice.org, le espressioni regolari dividono il testo da ricercare in porzioni per poi esaminare ogni porzione separatamente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, il testo è suddiviso in paragrafi. Ad esempio, &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156552</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156552"/>
		<updated>2010-02-07T23:34:24Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nel &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;colore|colori&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;colore&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;colori&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; seguito da un qualunque carattere e poi da &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - ad esempio &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, ma anche &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; significa che sarà cercato sia &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; sia &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sapere?&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;saper&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;sapere&amp;lt;/b&amp;gt; - la &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; è opzionale perché seguita da un punto interrogativo&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; trova la &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; alla fine di una parola&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; trova la prima lettera di una parola.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; trova la prima lettera di un paragrafo.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; trova un paragrafo vuoto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Espressioni regolari applicate in OpenOffice.org ==&lt;br /&gt;
In OpenOffice.org, le espressioni regolari dividono il testo da ricercare in porzioni per poi esaminare ogni porzione separatamente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156551</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156551"/>
		<updated>2010-02-07T23:29:11Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nel &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;colore|colori&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;colore&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;colori&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; seguito da un qualunque carattere e poi &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, ma anche &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; significa che sarà cercato sia &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; sia &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sapere?&amp;lt;/b&amp;gt; trova &amp;lt;b&amp;gt;saper&amp;lt;/b&amp;gt; e &amp;lt;b&amp;gt;sapere&amp;lt;/b&amp;gt; - la &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt; è opzionale perché seguita da un punto interrogativo&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; trova la &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; alla fine di una parola&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; trova la prima lettera di una parola.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; trova la prima lettera di un paragrafo.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; trova un paragrafo vuoto&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156488</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156488"/>
		<updated>2010-02-07T19:24:34Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressioni regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
Se non si vuole apprendere il funzionamento esatto delle espressioni regolari, ma si vuole soltanto servirsene, questi esempi potrebbero tornare utili. Inseriteli nella &amp;#039;Campo di ricerca&amp;#039;, assicurandovi che le espressioni regolari siano selezionate.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156478</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156478"/>
		<updated>2010-02-07T14:18:21Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il principio di funzionamento delle espressionii regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156477</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156477"/>
		<updated>2010-02-07T14:16:11Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Digitando &amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; nel box &amp;#039;&amp;#039;&amp;#039;Sostituisci con&amp;#039;&amp;#039;&amp;#039; e cliccando il bottone &amp;#039;&amp;#039;&amp;#039;Sostituisci tutto&amp;#039;&amp;#039;&amp;#039;, il testo diventerà &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;nore&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;&amp;#039;&amp;#039;iovanni&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tutto ciò potrà sembrare poco utile ma mostra il princiopio di funzionamento delle espressionii regolari. Tali funzioni saranno spiegate meglio attraverso altri esempi di uso della funzionalità &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Quello che c&amp;#039;è da sapere sulle espressioni regolari ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156475</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156475"/>
		<updated>2010-02-07T13:54:19Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
Dalla finestra, scegliere &amp;#039;&amp;#039;&amp;#039;Più Opzioni&amp;#039;&amp;#039;&amp;#039; e selezionare la voce &amp;#039;&amp;#039;&amp;#039;Espressioni regolare&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Nella casella di ricerca inserire &amp;#039;&amp;#039;&amp;#039;s.g &amp;#039;&amp;#039;&amp;#039;- il punto significa &amp;#039;ogni singolo carattere&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cliccando il bottone Cerca tutto saranno evidenziate tutte la parole che contengono una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; seguita da un carattere qualsiasi il cui successore sia però una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;, ad esempio &amp;#039;&amp;#039;&amp;#039;&amp;#039;sig&amp;#039;&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;lt;b&amp;gt;sig&amp;lt;/b&amp;gt;nore&amp;#039; o &amp;#039;&amp;#039;&amp;#039;seg&amp;#039;&amp;#039;&amp;#039;ugio&amp;#039; o &amp;#039;&amp;#039;&amp;#039;&amp;#039;s giovanni&amp;#039;&amp;#039;&amp;#039;&amp;#039; (in questo ultimo esempio una &amp;#039;&amp;#039;&amp;#039;s&amp;#039;&amp;#039;&amp;#039; è seguita da uno &amp;#039;&amp;#039;&amp;#039;spazio&amp;#039;&amp;#039;&amp;#039; che a sua volta è seguito da una &amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039; - lo spazio è un carattere).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you type&amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;Replace with&amp;#039;&amp;#039;&amp;#039; box, and click the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button, these become &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;hot&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;b&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;e&amp;#039;, &amp;#039;you&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That may not be very useful, but it shows the principle. We&amp;#039;ll continue to use the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog to explain in more detail.&lt;br /&gt;
&lt;br /&gt;
== The least you need to know about regular expressions ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156467</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156467"/>
		<updated>2010-02-07T09:45:41Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== Un semplice esempio ==&lt;br /&gt;
Se non si ha molta dimestichezza con le espressioni regolari, si consiglia di fare pratica in Writer piuttosto che in Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, aprire il menu di dialogo &amp;#039;&amp;#039;&amp;#039;Trova e sostituisci&amp;#039;&amp;#039;&amp;#039; dal menu Modifica.&lt;br /&gt;
&lt;br /&gt;
On the dialog, choose &amp;#039;&amp;#039;&amp;#039;More Options&amp;#039;&amp;#039;&amp;#039; and tick the &amp;#039;&amp;#039;&amp;#039;Regular Expressions&amp;#039;&amp;#039;&amp;#039; box&lt;br /&gt;
&lt;br /&gt;
In the Search box enter &amp;#039;&amp;#039;&amp;#039;r.d &amp;#039;&amp;#039;&amp;#039;- the dot here means &amp;#039;any single character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clicking the Find All button will now find all the places where an &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; is followed by another character followed by a &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039;, for instance &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;b&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;e&amp;#039; or &amp;#039;you&amp;#039;&amp;#039;&amp;#039;r d&amp;#039;&amp;#039;&amp;#039;og&amp;#039; (this last example is &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; followed by a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; followed by &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; - the space is a character).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you type&amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;Replace with&amp;#039;&amp;#039;&amp;#039; box, and click the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button, these become &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;hot&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;b&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;e&amp;#039;, &amp;#039;you&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That may not be very useful, but it shows the principle. We&amp;#039;ll continue to use the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog to explain in more detail.&lt;br /&gt;
&lt;br /&gt;
== The least you need to know about regular expressions ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156465</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156465"/>
		<updated>2010-02-07T09:24:13Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1_it.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All&amp;#039;apertura della finestra di dialogo occorre controllare lo stato dell&amp;#039;opzione delle espressioni regolari, come impostazione predefinita è disabilitata.&lt;br /&gt;
&lt;br /&gt;
== un semplice esempio ==&lt;br /&gt;
If you have little or no experience of regular expressions, you may find it easiest to study them in Writer rather than say Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, bring up the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog from the Edit menu.&lt;br /&gt;
&lt;br /&gt;
On the dialog, choose &amp;#039;&amp;#039;&amp;#039;More Options&amp;#039;&amp;#039;&amp;#039; and tick the &amp;#039;&amp;#039;&amp;#039;Regular Expressions&amp;#039;&amp;#039;&amp;#039; box&lt;br /&gt;
&lt;br /&gt;
In the Search box enter &amp;#039;&amp;#039;&amp;#039;r.d &amp;#039;&amp;#039;&amp;#039;- the dot here means &amp;#039;any single character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clicking the Find All button will now find all the places where an &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; is followed by another character followed by a &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039;, for instance &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;b&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;e&amp;#039; or &amp;#039;you&amp;#039;&amp;#039;&amp;#039;r d&amp;#039;&amp;#039;&amp;#039;og&amp;#039; (this last example is &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; followed by a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; followed by &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; - the space is a character).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you type&amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;Replace with&amp;#039;&amp;#039;&amp;#039; box, and click the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button, these become &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;hot&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;b&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;e&amp;#039;, &amp;#039;you&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That may not be very useful, but it shows the principle. We&amp;#039;ll continue to use the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog to explain in more detail.&lt;br /&gt;
&lt;br /&gt;
== The least you need to know about regular expressions ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:Regex_howto_1_it.png&amp;diff=156464</id>
		<title>File:Regex howto 1 it.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:Regex_howto_1_it.png&amp;diff=156464"/>
		<updated>2010-02-07T09:20:31Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: posizione della casella di controllo delle espressioni regolari&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;posizione della casella di controllo delle espressioni regolari&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156463</id>
		<title>IT/Documentation/How Tos/Regular Expressions in Writer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IT/Documentation/How_Tos/Regular_Expressions_in_Writer&amp;diff=156463"/>
		<updated>2010-02-07T08:59:43Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: Created page with &amp;#039;fr:Documentation/FR/Expressions_Regulieres_dans_Writer nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer  == Introduzione == In pratica, le espressioni regolari …&amp;#039; (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[fr:Documentation/FR/Expressions_Regulieres_dans_Writer]]&lt;br /&gt;
[[nl:Documentation/nl/How_Tos/Reguliere_expressies_in_Writer]]&lt;br /&gt;
&lt;br /&gt;
== Introduzione ==&lt;br /&gt;
In pratica, le espressioni regolari sono un modo intelligente per trovare e sostituire del testo (come per i caratteri &amp;#039;jolly&amp;#039;). Le espressioni regolari possono essere sia potenti sia complesse, ed un utente inesperto può facilmente commettere errori. Descriviamo l&amp;#039;uso delle espressioni regolari in OpenOffice.org al fine di essere abbastanza chiari per i principianti, analizzando dettagliatamente gli aspetti che possono creare confusione negli utenti più esperti.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Un utilizzo tipico di espressioni regolari è cercare del testo in un documento di Writer; per esempio per individuare tutte le occorrenze di &amp;#039;&amp;#039;&amp;#039;uomo&amp;#039;&amp;#039;&amp;#039; o &amp;#039;&amp;#039;&amp;#039;donna&amp;#039;&amp;#039;&amp;#039; nel documento, è possibile cercare usando un&amp;#039;espressione regolare che trovi entrambe le parole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le espressioni regolari sono molto comuni in alcuni settori dell&amp;#039;informatica, e sono spesso note come regex o regexp. Non tutte le regex sono scritte allo stesso modo - quindi, una lettura del manuale è una scelta ragionevole.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quando utilizzare espressioni regolari in OOo ==&lt;br /&gt;
In Writer:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Modifica - Modifiche - comando Accetta o annulla (Tabella dei filtri)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Calc:&lt;br /&gt;
&lt;br /&gt;
*Modifica - finestra Cerca e sostituisci&lt;br /&gt;
&lt;br /&gt;
*Dati - Filtro - Filtro standard e Filtro speciale&lt;br /&gt;
&lt;br /&gt;
*Alcune funzioni come SOMMA.SE, CERCA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Base:&lt;br /&gt;
&lt;br /&gt;
*Comando Trova record&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Le finestre di dialogo visualizzate quando si utilizzano questi comandi danno generalmente la possibilità di utilizzare le espressioni regolari (per impostazione predefinita questa funzionalità è disattivata). Ad esempio&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_1.png|posizione della casella di controllo delle espressioni regolari]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You should check the status of the regular expression option each time you bring up the dialog, as it defaults to &amp;#039;off&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== A simple example ==&lt;br /&gt;
If you have little or no experience of regular expressions, you may find it easiest to study them in Writer rather than say Calc.&lt;br /&gt;
&lt;br /&gt;
In Writer, bring up the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog from the Edit menu.&lt;br /&gt;
&lt;br /&gt;
On the dialog, choose &amp;#039;&amp;#039;&amp;#039;More Options&amp;#039;&amp;#039;&amp;#039; and tick the &amp;#039;&amp;#039;&amp;#039;Regular Expressions&amp;#039;&amp;#039;&amp;#039; box&lt;br /&gt;
&lt;br /&gt;
In the Search box enter &amp;#039;&amp;#039;&amp;#039;r.d &amp;#039;&amp;#039;&amp;#039;- the dot here means &amp;#039;any single character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clicking the Find All button will now find all the places where an &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; is followed by another character followed by a &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039;, for instance &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; or &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;b&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;e&amp;#039; or &amp;#039;you&amp;#039;&amp;#039;&amp;#039;r d&amp;#039;&amp;#039;&amp;#039;og&amp;#039; (this last example is &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039; followed by a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; followed by &amp;#039;&amp;#039;&amp;#039;d&amp;#039;&amp;#039;&amp;#039; - the space is a character).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you type&amp;#039;&amp;#039;&amp;#039; xxx&amp;#039;&amp;#039;&amp;#039; into the &amp;#039;&amp;#039;&amp;#039;Replace with&amp;#039;&amp;#039;&amp;#039; box, and click the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button, these become &amp;#039;&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;hot&amp;lt;b&amp;gt;xxx&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;b&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;e&amp;#039;, &amp;#039;you&amp;#039;&amp;#039;&amp;#039;xxx&amp;#039;&amp;#039;&amp;#039;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That may not be very useful, but it shows the principle. We&amp;#039;ll continue to use the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog to explain in more detail.&lt;br /&gt;
&lt;br /&gt;
== The least you need to know about regular expressions ==&lt;br /&gt;
If you don&amp;#039;t want to find out exactly how regular expressions work, but just want to get a job done, you might find these common examples useful. Enter them in the &amp;#039;Search for&amp;#039; box, and make sure that regular expressions are selected.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;color|colour&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;color&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;colour&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep.rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;sep&amp;lt;/b&amp;gt; then any character then &amp;lt;b&amp;gt;rate&amp;lt;/b&amp;gt; - eg &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt;, and indeed &amp;lt;b&amp;gt;sepXrate&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;sep[ae]rate&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;separate&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;seperate&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;[ae]&amp;lt;/b&amp;gt; means either an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;changed?&amp;lt;/b&amp;gt; finds &amp;lt;b&amp;gt;change&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;changed&amp;lt;/b&amp;gt; - the &amp;lt;b&amp;gt;d&amp;lt;/b&amp;gt; is optional because it is followed by a question mark&lt;br /&gt;
* &amp;lt;b&amp;gt;s\&amp;gt;&amp;lt;/b&amp;gt; finds the &amp;lt;b&amp;gt;s&amp;lt;/b&amp;gt; at the end of a word&lt;br /&gt;
* &amp;lt;b&amp;gt;\&amp;lt;.&amp;lt;/b&amp;gt; finds the first letter of a word.&lt;br /&gt;
* &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; finds the first letter of a paragraph.&lt;br /&gt;
* &amp;lt;b&amp;gt;^$&amp;lt;/b&amp;gt; finds an empty paragraph&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How regular expressions are applied in OpenOffice.org ==&lt;br /&gt;
OpenOffice.org regular expressions appear to divide the text to be searched into portions and examine each portion separately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer, text appears to be divided into paragraphs. For example &amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; at the end of a paragraph with &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039; beginning the next paragraph (&amp;#039;&amp;#039;&amp;#039; x.*z&amp;#039;&amp;#039;&amp;#039; means &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; then any or no characters then &amp;#039;&amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;#039;). Paragraphs seem to be treated separately (although we discuss some special cases at the end of this HowTo).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:Regex_howto_3.png|the scope of regular expressions]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition Writer considers each table cell and each text frame separately. Text frames are examined after all the other text / table cells on all pages have been examined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the Find &amp;amp; Replace dialog, regular expressions may be used in the &amp;lt;b&amp;gt;Search for&amp;lt;/b&amp;gt; box. In general they may &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; be used in the &amp;lt;b&amp;gt;Replace&amp;lt;/b&amp;gt; with box. The exceptions are discussed later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Literal characters ==&lt;br /&gt;
If your regular expression contains characters other than the so-called &amp;#039;special characters&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; then those characters are matched literally. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;raw and F&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;die.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OpenOffice.org allows you to choose whether you care if a character is &amp;#039;UPPER CASE&amp;#039; or &amp;#039;lower case&amp;#039;. If you tick the box to &amp;#039;match case&amp;#039; on the &amp;#039;&amp;#039;&amp;#039;Find and Replace&amp;#039;&amp;#039;&amp;#039; dialog, then &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; will not match &amp;#039;&amp;#039;&amp;#039;Red&amp;#039;&amp;#039;&amp;#039; or F&amp;#039;&amp;#039;&amp;#039;RED&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;; if you un-tick that box then the case is ignored and both will be matched.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Special characters ==&lt;br /&gt;
The special characters are &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;. ^ $ * + ? \ [ ( { |&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They have special meanings in a regular expression, as we&amp;#039;re about to describe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you wish to match one of these characters literally, place a backslash &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039; before it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; to match &amp;#039;&amp;#039;&amp;#039;$100&amp;#039;&amp;#039;&amp;#039; use &amp;#039;&amp;#039;&amp;#039;\$100&amp;#039;&amp;#039;&amp;#039; - the &amp;#039;&amp;#039;&amp;#039;\$&amp;#039;&amp;#039;&amp;#039; is taken to mean &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Single character match .  ? ==&lt;br /&gt;
The dot &amp;#039;&amp;lt;b&amp;gt;.&amp;lt;/b&amp;gt;&amp;#039; special character stands for any single character (except newline).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;r.d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;hot&amp;lt;b&amp;gt;rod&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;b&amp;lt;b&amp;gt;rid&amp;lt;/b&amp;gt;e&amp;#039; and &amp;#039;you&amp;lt;b&amp;gt;r d&amp;lt;/b&amp;gt;og&amp;#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The question mark &amp;#039;&amp;lt;b&amp;gt;?&amp;lt;/b&amp;gt;&amp;#039; special character means &amp;#039;match zero or one of the preceding character&amp;#039; - or &amp;#039;match the preceding character if it is found&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rea?d&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;read&amp;lt;/b&amp;gt;&amp;#039; - &amp;#039;&amp;lt;b&amp;gt;a?&amp;lt;/b&amp;gt;&amp;#039; means &amp;#039;match a single a if there is one&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters can be used in combination with each other. A dot followed by a question mark means &amp;#039;match zero or one of any single chacter&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;star.?ing&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;lt;b&amp;gt;staring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starring&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;starting&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;starling&amp;lt;/b&amp;gt;&amp;#039;, but not &amp;#039;&amp;lt;b&amp;gt;startling&amp;lt;/b&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Repeating match +  *  {m,n} ==&lt;br /&gt;
The plus &amp;lt;b&amp;gt;&amp;#039;+&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match one or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;re+d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reed&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reeeeed&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;e+&amp;lt;/b&amp;gt; means match one or more &amp;lt;b&amp;gt;e&amp;lt;/b&amp;gt;&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match zero or more of the preceding character&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaaaaaaad&amp;#039;&amp;lt;/b&amp;gt; - &amp;lt;b&amp;gt;&amp;#039;a*&amp;#039;&amp;lt;/b&amp;gt; means match zero or more &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A common use for &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; is after the dot character - ie &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;.*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; which means &amp;#039;any or no characters&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;rea.*d&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;read&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaXd&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;reaYYYYd&amp;#039;&amp;lt;/b&amp;gt; but not - &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;&amp;#039;reXd&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the star &amp;lt;b&amp;gt;&amp;#039;&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;/b&amp;gt; with caution; it will grab everything it can:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;#039;r.*d&amp;#039;&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; but in Writer if your paragraph is actually &amp;#039;The referee showed him the red card again&amp;#039; the match found is &amp;lt;b&amp;gt;&amp;#039;referee showed him the red card&amp;#039;&amp;lt;/b&amp;gt; - that is, the first &amp;lt;b&amp;gt;&amp;#039;r&amp;#039;&amp;lt;/b&amp;gt; and the last possible &amp;lt;b&amp;gt;&amp;#039;d&amp;#039;&amp;lt;/b&amp;gt;. Regular expressions are greedy by nature.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may specify how many times you wish the match to be repeated, with curly brackets &amp;lt;b&amp;gt;{ }&amp;lt;/b&amp;gt;. For example &amp;lt;b&amp;gt;a{1,4}rgh!&amp;lt;/b&amp;gt; will match &amp;lt;b&amp;gt;argh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaargh!&amp;lt;/b&amp;gt; - in other words between 1 and 4 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s then &amp;lt;b&amp;gt;rgh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also note that &amp;lt;b&amp;gt;a{3}rgh!&amp;lt;/b&amp;gt; will match precisely 3 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, ie &amp;lt;b&amp;gt;aaargh!&amp;lt;/b&amp;gt;, and  &amp;lt;b&amp;gt;a{2,}rgh!&amp;lt;/b&amp;gt; (with a comma) will match at least 2 &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;&amp;#039;s, for example &amp;lt;b&amp;gt;aargh!&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;aaaaaaaargh!&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Positional match ^  $  \&amp;lt;  \&amp;gt; ==&lt;br /&gt;
The circumflex &amp;lt;b&amp;gt;&amp;#039;^&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the beginning of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The dollar &amp;lt;b&amp;gt;&amp;#039;$&amp;#039;&amp;lt;/b&amp;gt; special character means &amp;#039;match at the end of the text&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember that OpenOffice.org regular expressions divide up the text to be searched - each paragraph in Writer is examined separately.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the start of a paragraph (&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; night shepherd&amp;#039;s delight).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red$&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; at the end of a paragraph (he felt himself go &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red$&amp;lt;/b&amp;gt; matches inside a table cell that contains just &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition a hard line break (entered by Shift-Enter) is considered the beginning / end of text, and will allow a &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The backslash &amp;lt;b&amp;gt;&amp;#039;\&amp;#039;&amp;lt;/b&amp;gt; special character gives special meaning to the character pairs &amp;lt;b&amp;gt;&amp;#039;\&amp;lt;&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;\&amp;gt;&amp;#039;&amp;lt;/b&amp;gt;, namely &amp;#039;match at the beginning of a word&amp;#039;, and &amp;#039;match at the end of a word&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the beginning of a word (she went &amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;der than he did).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches red at the end of a word (although neither of them ca&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt; much.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test used to define the beginning/end of a word seems to be that the previous/next character is a space, underscore (_), tab, newline, paragraph mark or any non-alphanumeric character.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;red&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;person@&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;iton.com&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;red\&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches &amp;#039;I said, &amp;quot;No-one da&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;quot; &amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alternative matches  |  [...]  ==&lt;br /&gt;
The pipe character &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; is a special character which allows the expression either side of the &amp;#039;&amp;lt;b&amp;gt;|&amp;lt;/b&amp;gt;&amp;#039; to match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;red|blue&amp;lt;/b&amp;gt; matches &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Unfortunately, certain expressions when used &amp;#039;&amp;#039;after&amp;#039;&amp;#039; a pipe are not evaluated. This is so far known to affect &amp;#039;&amp;#039;&amp;#039;^&amp;#039;&amp;#039;&amp;#039; and backreferences, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=46165 issue 46165]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;^red|blue&amp;lt;/b&amp;gt; matches paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt; and any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, but &amp;lt;b&amp;gt;blue|^red&amp;lt;/b&amp;gt; incorrectly matches only any occurrence of &amp;lt;b&amp;gt;&amp;#039;blue&amp;#039;&amp;lt;/b&amp;gt;, failing to match paragraphs beginning with &amp;lt;b&amp;gt;&amp;#039;red&amp;#039;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The open square brackets character &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt; is a special character. Characters enclosed in square brackets are treated as alternatives - any one of them may match. You can also include ranges of characters, such as &amp;#039;&amp;#039;&amp;#039;a-z&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;, rather than typing in &amp;#039;&amp;#039;&amp;#039;abcdefghijklmnopqrstuvwxyz&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;0123456789&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;r[eo]d &amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;matches&amp;#039;&amp;#039;&amp;#039; &amp;#039;red&amp;#039; &amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039; &amp;#039;rod&amp;#039;&amp;#039;&amp;#039;&amp;#039; but not &amp;#039;&amp;#039;&amp;#039;&amp;#039;rid&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[m-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example: &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;[hm-p]ut&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; matches &amp;#039;&amp;#039;&amp;#039;&amp;#039;hut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;mut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;nut&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;out&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;put&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Special characters within alternative match square brackets do not have the same special meanings. The only characters which do have special meanings are &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, and the meanings are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; - a closing square bracket ends the alternative match set &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abcdef]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt; - a hyphen indicates a range of characters, as we&amp;#039;ve seen, eg &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
* &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; - if the caret is the first character in the square brackets, it negates the search. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[^a-dxyz]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; matches any character except &amp;lt;b&amp;gt;abcdxyz&amp;lt;/b&amp;gt;.&lt;br /&gt;
* &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; - the backslash is used to allow &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;-&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;^&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;\&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; to be used literally in square brackets, and to allow hexadecimal codes. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039;, &amp;lt;b&amp;gt;\]&amp;lt;/b&amp;gt; stands for a literal closing square bracket, so &amp;lt;b&amp;gt;[[\]a]&amp;lt;/b&amp;gt; will match an opening square bracket &amp;lt;b&amp;gt;[&amp;lt;/b&amp;gt;, a closing square bracket &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt; or an &amp;lt;b&amp;gt;a&amp;lt;/b&amp;gt;. &amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt; stands for a literal backslash. &amp;lt;b&amp;gt;\x0009&amp;lt;/b&amp;gt; stands for a tab character.&lt;br /&gt;
&lt;br /&gt;
Just to re-emphasise: these are the meanings of these characters inside square brackets, and any other characters are treated literally. &amp;#039;&amp;#039;For example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[\t ]&amp;lt;/b&amp;gt; will match a &amp;#039;&amp;lt;b&amp;gt;t&amp;lt;/b&amp;gt;&amp;#039; or a space - &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; a tab or a space. Use &amp;lt;b&amp;gt;[\x0009 ]&amp;lt;/b&amp;gt; to match a tab or a space.&lt;br /&gt;
&lt;br /&gt;
== POSIX bracket expressions [:alpha:] [:digit:] etc..  ==&lt;br /&gt;
There is much confusion in the OpenOffice.org community about these. The Help itself is also far from clear.&lt;br /&gt;
&lt;br /&gt;
There are a number of &amp;#039;POSIX bracket expressions&amp;#039; (sometimes called &amp;#039;POSIX character classes&amp;#039;) available in OpenOffice.org regular expressions, of the form &amp;lt;b&amp;gt;[:classname:]&amp;lt;/b&amp;gt; which allow a match with any of the characters in that class. For instance &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
These (by definition) may &amp;lt;b&amp;gt;only appear inside the square brackets&amp;lt;/b&amp;gt; of an alternative match - so a valid syntax would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[abc[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;, which should match &amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;c&amp;#039;&amp;#039;&amp;#039;, or any digit &amp;#039;&amp;#039;&amp;#039;0-9&amp;#039;&amp;#039;&amp;#039;. A correct syntax to match just any one digit would be &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Unfortunately this does not work as it should! The correct syntax does not work at all, but currently an incorrect syntax &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;([:digit:])&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; will actually match a digit, as long as it is &amp;lt;b&amp;gt;outside&amp;lt;/b&amp;gt; the  square brackets of an alternative match. (&amp;#039;&amp;#039;Obviously this is unsatisfactory, and is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=64368 issue 64368]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
The POSIX bracket expressions available are listed below. Note that the exact definition of each depends on &amp;#039;&amp;#039;locale&amp;#039;&amp;#039; - for example in a different language other characters may be considered &amp;#039;alphabetic letters&amp;#039; in [:alpha:]. The meanings given here apply generally to English-speaking locales (and do not take into account any Unicode issues).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:digit:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for any of the digits &amp;lt;b&amp;gt;0123456789&amp;lt;/b&amp;gt;. This is equivalent to &amp;lt;b&amp;gt;0-9&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:space:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : should stand for any whitespace character, including tab; however as currently implemented it stands simply for a space character. Note that the Help is currently misleading here. (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=41706 issue 41706]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:print:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; :  should stand for any printable character;  however as currently implemented it does not match the single quote nor the double quote characters &amp;lt;b&amp;gt;‘ ’ “ ”&amp;lt;/b&amp;gt; (and some others such as  &amp;lt;b&amp;gt;« »&amp;lt;/b&amp;gt;).  It matches space,  but does not match tab (this latter is expected/defined behaviour). (&amp;#039;&amp;#039;This is the subject of [http://qa.openoffice.org/issues/show_bug.cgi?id=83290 issue 83290]&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:cntrl:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a control character. As far as a user is concerned, OpenOffice.org documents have very few control characters;  tab and hard_line_break are both matched, but paragraph_mark is not.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alpha:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a letter (including a letter with an accent). For example in the phrase (often used in English, and here given with accents as in the original language) &amp;#039;&amp;lt;b&amp;gt;déjà vu&amp;lt;/b&amp;gt;&amp;#039;  all 6 letters will match.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:alnum:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a character that satisfies either &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt; or &amp;lt;b&amp;gt;[:digit:]&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:lower:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for a lowercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[:upper:]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; : stands for an uppercase letter (including a letter with an accent). The case matching does not work unless the &amp;lt;b&amp;gt;Match case&amp;lt;/b&amp;gt; box is ticked; if this box is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; ticked this expression is equivalent to &amp;lt;b&amp;gt;[:alpha:]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There seems to be little consistency in any implementation of  POSIX bracket expressions (OOo or elsewhere). One approach is simply to use straightforward character classes - so instead of &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[[:digit:]]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; you use &amp;lt;b&amp;gt;&amp;lt;nowiki&amp;gt;[0-9]&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt; for example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Grouping (...) and backreferences \x $x ==&lt;br /&gt;
Round brackets &amp;#039;&amp;#039;&amp;#039;( )&amp;#039;&amp;#039;&amp;#039; may be used to group terms.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;red(den)?&amp;#039;&amp;#039;&amp;#039; will find &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;redden&amp;lt;/b&amp;gt;&amp;#039;; here &amp;#039;&amp;#039;&amp;#039;(den)?&amp;#039;&amp;#039;&amp;#039; means &amp;#039;one or zero of &amp;lt;b&amp;gt;den&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black)bird&amp;#039;&amp;#039;&amp;#039; will find both &amp;#039;&amp;lt;b&amp;gt;bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each group enclosed in round brackets is also defined as a reference, and can be referred to later in the same expression using a &amp;#039;backreference&amp;#039;. In the &amp;#039;Search for&amp;#039; box, backreferences are written &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039;, etc.; in the &amp;#039;Replace with&amp;#039; box they are written &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039;, &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039;, etc.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$1&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the first round brackets&amp;#039;; &amp;#039;&amp;lt;b&amp;gt;\2&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&amp;#039; stands for &amp;#039;whatever matched in the second round brackets&amp;#039;; and so on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(blue|black) \1bird&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find both &amp;#039;&amp;lt;b&amp;gt;blue bluebird&amp;lt;/b&amp;gt;&amp;#039; and &amp;#039;&amp;lt;b&amp;gt;black blackbird&amp;lt;/b&amp;gt;&amp;#039;, because &amp;#039;&amp;lt;b&amp;gt;\1&amp;lt;/b&amp;gt;&amp;#039; stands for either &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;black&amp;#039;&amp;#039;&amp;#039;, whichever we found. Therefore &amp;#039;&amp;lt;b&amp;gt;black bluebird&amp;lt;/b&amp;gt;&amp;#039; does &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; match.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Backreferences in the &amp;#039;Replace with&amp;#039; box only work from [[OOoRelease24|OOo2.4]] onwards&amp;#039;&amp;#039;&amp;#039;. The use of $1 rather than \1 is consistent with perl syntax, and more particularly with the ICU regex engine, which may at some time replace the existing OOo regex engine, thus resolving many issues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(gr..n)(blu.)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box will find &amp;#039;&amp;lt;b&amp;gt;greenblue&amp;lt;/b&amp;gt;&amp;#039;; if the &amp;#039;Replace with&amp;#039; box has &amp;#039;&amp;#039;&amp;#039;$2$1&amp;#039;&amp;#039;&amp;#039; the replacement will be &amp;#039;&amp;lt;b&amp;gt;bluegreen&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When regular expressions are selected, to replace text with the literal character &amp;#039;&amp;lt;b&amp;gt;$&amp;lt;/b&amp;gt;&amp;#039; you must now use &amp;#039;&amp;lt;b&amp;gt;\$&amp;lt;/b&amp;gt;&amp;#039;; similarly for &amp;#039;&amp;lt;b&amp;gt;\&amp;lt;/b&amp;gt;&amp;#039; use &amp;#039;&amp;lt;b&amp;gt;\\&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;(1..)&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box and &amp;#039;&amp;#039;&amp;#039;\$$1&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces &amp;#039;&amp;lt;b&amp;gt;100&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$100&amp;lt;/b&amp;gt;&amp;#039;, and &amp;#039;&amp;lt;b&amp;gt;150&amp;lt;/b&amp;gt;&amp;#039; with &amp;#039;&amp;lt;b&amp;gt;$150&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box replaces with the entire text found.&lt;br /&gt;
&lt;br /&gt;
== Tabs, newlines, paragraphs  \t \n  $  ==&lt;br /&gt;
The character pair &amp;lt;b&amp;gt;&amp;#039;\t&amp;#039;&amp;lt;/b&amp;gt; has special meaning - it stands for a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;\tred&amp;#039;&amp;#039;&amp;#039; will match a &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;&amp;#039; character followed by the word &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Writer a &amp;#039;&amp;#039;&amp;#039;newline&amp;#039;&amp;#039;&amp;#039; may be entered by pressing Shift-Enter. A newline character is thereby inserted into the text, and the following text starts on a new line. This is not the same as a new paragraph; click &amp;#039;&amp;#039;View-Non printing characters&amp;#039;&amp;#039; to see the difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OOo regular expression behaviour when matching paragraph marks and newline characters is &amp;#039;unusual&amp;#039;. This is partly because regular expressions in other software usually deal with ordinary plain text, whereas OOo regular expressions divide the text at paragraph marks. For whatever reason, this is what you can do:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; will match a newline (Shift-Enter) if it is entered in the Search box. In this context it is simply treated like a character, and can be replaced by say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, or nothing. The regular expression &amp;#039;&amp;#039;&amp;#039;red\n&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039; followed by a newline character - and if replaced simply by say &amp;#039;&amp;#039;&amp;#039;blue&amp;#039;&amp;#039;&amp;#039; the newline will also be replaced. The regular expression &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; when it is followed by a newline. In this case, replacing with &amp;#039;&amp;lt;b&amp;gt;blue&amp;lt;/b&amp;gt;&amp;#039; will only replace &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; - and will leave the newline intact.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;red\ngreen&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; followed by a newline followed by &amp;#039;&amp;lt;b&amp;gt;green&amp;lt;/b&amp;gt;&amp;#039;; replacing with say &amp;#039;&amp;lt;b&amp;gt;brown&amp;lt;/b&amp;gt;&amp;#039; will remove the newline. However neither &amp;#039;&amp;#039;&amp;#039;red.green&amp;#039;&amp;#039;&amp;#039; nor &amp;#039;&amp;#039;&amp;#039;red.*green&amp;#039;&amp;#039;&amp;#039; will match here - the dot &amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; does not match newline.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own will match a paragraph mark - and can be replaced by say a &amp;#039;&amp;lt;b&amp;gt;space&amp;lt;/b&amp;gt;&amp;#039;, or indeed nothing, in order to merge two paragraphs together. Note that &amp;#039;&amp;#039;&amp;#039;red$&amp;#039;&amp;#039;&amp;#039; will match &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; at the end of a paragraph, and if you replace it with say a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039;, you simply get a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; where &amp;#039;&amp;lt;b&amp;gt;red&amp;lt;/b&amp;gt;&amp;#039; was - and the paragraphs are unaffected - the paragraph mark is not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; will match an empty paragraph, which can be replaced by say nothing, in order to remove the empty paragraph. Note that &amp;#039;&amp;#039;&amp;#039;^red$&amp;#039;&amp;#039;&amp;#039; matches a paragraph with only &amp;#039;&amp;#039;&amp;#039;&amp;#039;red&amp;#039;&amp;#039;&amp;#039;&amp;#039; in it - replacing this with nothing leaves an empty paragraph - the paragraph marks at either end are not replaced. It may help to regard &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; on its own as a special syntax, unique to OOo. Unfortunately, because OOo has taken over this syntax, it seems you cannot use &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; to find empty cells in a table (nor empty Calc cells).&lt;br /&gt;
* If you wish to replace every newline with a paragraph mark, firstly you will search for &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; with Find All to select the newlines. Then in the Replace box you enter &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039;, which in the Replace box stands for a paragraph mark; then choose Replace. This is somewhat bizarre, but at least now you know. Note that \r is interpreted as a literal &amp;#039;r&amp;#039;, not a carriage return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To replace paragraph marks - as used to give lines a certain length in some html documents, for instance - with &amp;quot;normal&amp;quot; automatically wrapped lines and paragraphs, the following 3 steps should help. Don&amp;#039;t forget to choose More Options and tick the Regular Expressions box for this procedure.&lt;br /&gt;
&lt;br /&gt;
1. So as not to lose &amp;quot;normal&amp;quot; paragraph marks at the end of &amp;quot;normal&amp;quot; paragraphs, replace two consecutive paragraph marks using a sequence of characters not occurring anywhere else in the text, like &amp;quot;*****&amp;quot; to replace an empty paragraph - this makes it easy to find and reinstate later. You do this by putting &amp;#039;&amp;#039;&amp;#039;^$&amp;#039;&amp;#039;&amp;#039; in the Find box and &amp;quot;*****&amp;quot; in the Replace box. (If you&amp;#039;re only dealing with a limited chunk of text, don&amp;#039;t forget to check &amp;quot;current selection only&amp;quot; under &amp;quot;more options&amp;quot; in the Find and Replace box.) &lt;br /&gt;
&lt;br /&gt;
2. Search for the remaining line-end paragraph marks by putting &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; in the Find box. To replace the mark with a &amp;quot;space&amp;quot; just type a &amp;#039;&amp;#039;&amp;#039;space&amp;#039;&amp;#039;&amp;#039; in the Replace dialogue. &lt;br /&gt;
&lt;br /&gt;
3. Now that the text is ready for normal line-wrapping, put back the &amp;quot;normal&amp;quot; paragraph marks by typing &amp;quot;*****&amp;quot; in the Find box and &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the Replace box. (Remember to check &amp;quot;current selection only&amp;quot; where appropriate!)&lt;br /&gt;
&lt;br /&gt;
Before you try this, create a test document to practise on.&lt;br /&gt;
&lt;br /&gt;
This is a good sequence to make into a macro. You can find macro suggestions on this OOo forum page: [http://www.oooforum.org/forum/viewtopic.phtml?t=3641 &amp;quot;replacing hard paragraphs&amp;quot;].&lt;br /&gt;
&lt;br /&gt;
(This procedure also helps deal indirectly with line-break problems.)&lt;br /&gt;
&lt;br /&gt;
== Hexadecimal codes \xXXXX ==&lt;br /&gt;
The character sequence &amp;#039; &amp;lt;b&amp;gt;\x&amp;lt;/b&amp;gt; then a 4 digit hexadecimal number &amp;#039; stands for the character with that code.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example:&amp;#039;&amp;#039; &amp;lt;b&amp;gt;\x002A&amp;lt;/b&amp;gt; stands for the star character &amp;#039;&amp;lt;b&amp;gt;*&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Hexadecimal codes can be seen on the &amp;#039;&amp;#039;&amp;#039;&amp;#039;Insert-Special Character&amp;#039;&amp;#039;&amp;#039;&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The &amp;#039;Replace with&amp;#039; box \t \n &amp;amp; $1 $2 ==&lt;br /&gt;
Users are sometimes confused with what can be done using the &amp;#039;Replace with&amp;#039; box in a Find &amp;amp; Replace dialog.&lt;br /&gt;
&lt;br /&gt;
In general, regular expressions &amp;#039;&amp;#039;&amp;#039;do not work&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Replace with&amp;#039; box. The characters you type replace the found text literally. &lt;br /&gt;
&lt;br /&gt;
The four constructs that do work are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\t&amp;#039;&amp;#039;&amp;#039; inserts a tab, replacing the text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; inserts a paragraph mark, replacing the text found. This may be unexpected, because &amp;#039;&amp;#039;&amp;#039;\n&amp;#039;&amp;#039;&amp;#039; in the &amp;#039;Search for&amp;#039; box means &amp;#039;newline&amp;#039;! In some operating systems it is possible to use unicode input to directly type a newline character (U+000A) in the &amp;#039;Replace with&amp;#039; box, providing a workaround, but this is not universal.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;$1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;$2&amp;#039;&amp;#039;&amp;#039;, etc are backreferences, which (from OOo2.4) insert text groups found. See under [[#Grouping (...) and backreferences \x $x|Grouping and backreferences]]. &amp;#039;&amp;#039;&amp;#039;$0&amp;#039;&amp;#039;&amp;#039; inserts the entire text found.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;amp;&amp;#039;&amp;#039;&amp;#039; also inserts the entire text found.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For example&amp;#039;&amp;#039; if you searched for &amp;#039;&amp;#039;&amp;#039;bird|berry&amp;#039;&amp;#039;&amp;#039;, you would would find either &amp;#039;&amp;lt;b&amp;gt;bird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;berry&amp;lt;/b&amp;gt;&amp;#039;; now to replace with &amp;#039;&amp;#039;&amp;#039;black&amp;amp;&amp;#039;&amp;#039;&amp;#039; would give you either &amp;#039;&amp;lt;b&amp;gt;blackbird&amp;lt;/b&amp;gt;&amp;#039; or &amp;#039;&amp;lt;b&amp;gt;blackberry&amp;lt;/b&amp;gt;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting OOo regular expressions ==&lt;br /&gt;
If you are new to regular expressions, please realise that they can be tricky - if you are not getting the results you expect, you might need to check that you understand well enough. Try to keep regular expressions as simple and unambitious as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some further points of interest with OOo regular expressions:&lt;br /&gt;
&lt;br /&gt;
* If you find an unexpected behaviour, please check in the relevant section in this HowTo - many of the behaviour issues have been documented here.&lt;br /&gt;
* Regular expressions are &amp;#039;greedy&amp;#039; - that is they will match as much text as they can. Consider using curly and square brackets; &amp;#039;&amp;#039;for example&amp;#039;&amp;#039; &amp;lt;b&amp;gt;[^ ]{1,5}\&amp;gt;&amp;lt;/b&amp;gt; matches 1 to 5 non-space characters at the end of a word.&lt;br /&gt;
* Please be careful when using the &amp;#039;&amp;#039;&amp;#039;Replace All&amp;#039;&amp;#039;&amp;#039; button. There are a few rare occasions when this will give unexpected results. For example to remove the first character of every paragraph you might &amp;#039;Search for&amp;#039; &amp;lt;b&amp;gt;^.&amp;lt;/b&amp;gt; and &amp;#039;Replace with&amp;#039; nothing; clicking &amp;#039;Replace All&amp;#039; now will wipe out *all* your text, instead of just the first character of each paragraph. [http://qa.openoffice.org/issues/show_bug.cgi?id=82473 Issue 82473] discusses this. The workaround is to &amp;#039;Find All&amp;#039;, then &amp;#039;Replace&amp;#039;; perhaps the safest way is not to use the &amp;#039;Replace All&amp;#039; button at all with regular expressions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
Here are some examples that may be useful:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;([^ ]+)[ ]+\1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds duplicate words separated by spaces (note that there is a space before each &amp;lt;b&amp;gt;]&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[:alpha:]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds any word in the whole document (notice:the check box regular expression must by checkt)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;[1-9][0-9]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: finds decimal numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0[0-7]*\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds octal  (base 8) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;\&amp;lt;0x[A-Fa-f0-9]+\&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds hexadecimal (base 16) numbers&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-z]{2,6}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
: finds &amp;lt;u&amp;gt;most&amp;lt;/u&amp;gt; email addresses (there is no perfect regular expression - this is a practical solution)&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|&lt;br /&gt;
* [http://www.icu-project.org/userguide/regexp.html The ICU regular expression package], a candidate to replace the existing OOo regular expression engine (see: [[Regexp]]).&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/example-regular-expressions-for-writer.html Example regular expressions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.OOoNinja.com/2007/12/backreferences-in-replacements-new.html Backreferences in substitutions] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://www.oooninja.com/2007/12/powerful-text-matching-with-regular.html Guide to regular expressions in OpenOffice.org] (OpenOffice.org Ninja)&lt;br /&gt;
* [http://openoffice.blogs.com/openoffice/2009/11/searching-and-replacing-paragraph-returns-carriage-returns-tabs-and-other-special-characters-in-open.html Searching and replacing paragraph returns (carriage returns), tabs, and other special characters]  (Solveig Haugland&amp;#039;s blog)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation/Reference]]&lt;br /&gt;
[[Category:Documentation/How Tos/Writer]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145879</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145879"/>
		<updated>2009-11-04T17:14:50Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: /* Where start ? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONARE ==&lt;br /&gt;
&lt;br /&gt;
Presto sarete in grado di aiutare il progetto facendo donazioni individuali o aziendali per il progetto con l&amp;#039;obiettivo di favorire lo sviluppo di infrastrutture per sostenere la longevità del progetto.&lt;br /&gt;
&lt;br /&gt;
== STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
Forniamo strumenti con OpenOffice.org adattati alla vostra pedagogia. &lt;br /&gt;
&lt;br /&gt;
Ogni volta che possiamo, cerchiamo di fornirne.&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Da dove iniziare? ==&lt;br /&gt;
=== PARTECIPARE AL PROGETTO ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Seguire i passi sottostanti:&lt;br /&gt;
&lt;br /&gt;
Andare su http://education.openoffice.org &amp;lt;= esattamente questo sito...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Se non avete un account di accesso, crearne uno è obbligatorio ( in alto a destra )&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Convalidare tutti i passaggi che permettono di collegarsi al progetto Educazione&amp;#039;&amp;#039;&amp;#039; ( confermare la mail di sottoscrizione e così via )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Accedere&amp;#039;&amp;#039;&amp;#039; con la password scelta,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Clicca su on Membership, poi su Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Infine, clicca su &amp;quot;Submit Request&amp;quot; ed attendi che il responsabile del progetto accetti la tua richiesta&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145878</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145878"/>
		<updated>2009-11-04T16:58:30Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: /* STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONARE ==&lt;br /&gt;
&lt;br /&gt;
Presto sarete in grado di aiutare il progetto facendo donazioni individuali o aziendali per il progetto con l&amp;#039;obiettivo di favorire lo sviluppo di infrastrutture per sostenere la longevità del progetto.&lt;br /&gt;
&lt;br /&gt;
== STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
Forniamo strumenti con OpenOffice.org adattati alla vostra pedagogia. &lt;br /&gt;
&lt;br /&gt;
Ogni volta che possiamo, cerchiamo di fornirne.&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145877</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145877"/>
		<updated>2009-11-04T16:58:04Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: /* STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONARE ==&lt;br /&gt;
&lt;br /&gt;
Presto sarete in grado di aiutare il progetto facendo donazioni individuali o aziendali per il progetto con l&amp;#039;obiettivo di favorire lo sviluppo di infrastrutture per sostenere la longevità del progetto.&lt;br /&gt;
&lt;br /&gt;
== STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
Forniamo strumenti con OpenOffice.org adattati alla vostra pedagogia. &lt;br /&gt;
Ogni volta che possiamo, cerchiamo di fornirne&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145876</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145876"/>
		<updated>2009-11-04T16:57:31Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: /* SEARCH TOOLS about EDUCATION and OpenOffice.org */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONARE ==&lt;br /&gt;
&lt;br /&gt;
Presto sarete in grado di aiutare il progetto facendo donazioni individuali o aziendali per il progetto con l&amp;#039;obiettivo di favorire lo sviluppo di infrastrutture per sostenere la longevità del progetto.&lt;br /&gt;
&lt;br /&gt;
== STRUMENTI DI RICERCA su EDUCAZIONE ed OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	Forniamo strumenti con OpenOffice.org adattati alla vostra pedagogia. &lt;br /&gt;
        Ogni volta che possiamo, cerchiamo di fornirne&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145875</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145875"/>
		<updated>2009-11-04T16:53:09Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: /* DONATE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONARE ==&lt;br /&gt;
&lt;br /&gt;
Presto sarete in grado di aiutare il progetto facendo donazioni individuali o aziendali per il progetto con l&amp;#039;obiettivo di favorire lo sviluppo di infrastrutture per sostenere la longevità del progetto.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145874</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145874"/>
		<updated>2009-11-04T16:32:17Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
E&amp;#039; tutto  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Basta iscriversi a dev@education.openoffice.org (altamente raccomandato) su : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Gli archivi sono estremamente importanti e sono utili per recuperare qualcosa discusso molto tempo fa.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni correte sono reperibili nel sito del progetto Educazione: [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Troverai: collegamenti per l&amp;#039;area di scambio FIXME (aggiungere alcuni di essi)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS ( elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145872</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145872"/>
		<updated>2009-11-04T16:21:54Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Informazioni aggiornate sono reperibili nel nostro wiki:  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Pagine wiki localizzate: &lt;br /&gt;
&lt;br /&gt;
		Pagina francese:  &lt;br /&gt;
&lt;br /&gt;
		Svizzera ( attualmente in tedesco) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(altro ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Comunica con noi! &lt;br /&gt;
&lt;br /&gt;
	Abbiamo un canale IRC in cui è possibile contattarci&lt;br /&gt;
&lt;br /&gt;
	Il server è irc.freenode.net&lt;br /&gt;
	Il canaleè #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	Ci vediamo :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145869</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145869"/>
		<updated>2009-11-04T16:11:32Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== RIUNIONI PERIODICHE SU IRC ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Teniamo riunioni periodiche IRC, e tutti i log sono pubblici.&lt;br /&gt;
&lt;br /&gt;
	Li troverai qui: http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Se si desidera partecipare, si prega di dare visitare: http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (elenco ) ===&lt;br /&gt;
* [http://education.openoffice.org Sito principale]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project Il wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Log] degli incontri IRC passati&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings incontri IRC di Educazione]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Progetti in incubazione]&lt;br /&gt;
&lt;br /&gt;
=== Gruppo EDUCAZIONE ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Clicca qui per scoprire chi siamo e molto altro]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145868</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145868"/>
		<updated>2009-11-04T15:24:46Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Avere delle linee guida nei loro progetti è motivante&lt;br /&gt;
** Lavorare direttamente con sviluppatori professionisti di alto livello è motivante&lt;br /&gt;
** Contribuiscono ad un progetto reale ed eccitante&lt;br /&gt;
** Visibilità e credibilità: buoni contributi e codice a sorgente aperto sono premesse per un buon lavoro nel futuro&lt;br /&gt;
** Possono valorizzare la loro esperienza&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039; vuole ...&lt;br /&gt;
** avere nuovi sviluppatori e contributori&lt;br /&gt;
** il progresso, perché nuovi occhi significano nuove visioni e nuove soluzioni&lt;br /&gt;
** contribuire ad un effetto sociale: condividere la conoscenza&lt;br /&gt;
** coinvolgere più professori e studenti a partecipare e collaborare a progetti con codice sorgente aperto&lt;br /&gt;
&lt;br /&gt;
== I NOSTRI SPONSOR ==&lt;br /&gt;
&lt;br /&gt;
(qualche candidato ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS sono organizzazioni senza scopo di lucro ==&lt;br /&gt;
&lt;br /&gt;
Se sei una scuola e vuoi collaborare, ti invitiamo ad aggiungerti alla lista:&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cosa puoi fare per aiutarci? ==&lt;br /&gt;
&lt;br /&gt;
HAI UN SUGGERIMENTO? VUOI FARE O PROPORRE QUALCOSA?&lt;br /&gt;
&lt;br /&gt;
	Fallo !!   ...e guarda sotto cosa si adatta meglio alle tue esigenze!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUIRE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145867</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145867"/>
		<updated>2009-11-04T15:15:20Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli insegnanti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibilità&lt;br /&gt;
** Mantenere il contatto con la realtà dei progetti industriali&lt;br /&gt;
** Contatti diretti con progetti di alto livello&lt;br /&gt;
** condivisione della conoscenza con altri insegnanti e professionisti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Per gli studenti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145866</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145866"/>
		<updated>2009-11-04T15:11:03Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea basata su [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Clicca qui per visitare la pagina wiki dei propositi del progetto Educazione]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;I benefici&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Teachers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibility&lt;br /&gt;
** Keep the contact with the reality of Industrial Projects&lt;br /&gt;
** direct contacts with high level projects&lt;br /&gt;
** Share their knowledge with other Teachers and Professional&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Students&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145865</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145865"/>
		<updated>2009-11-04T15:09:22Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Propositi del progetto Educazione&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Efforts | Propositi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Click Here to visit Education Project Effort wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;The Benefits&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Teachers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibility&lt;br /&gt;
** Keep the contact with the reality of Industrial Projects&lt;br /&gt;
** direct contacts with high level projects&lt;br /&gt;
** Share their knowledge with other Teachers and Professional&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Students&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145864</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145864"/>
		<updated>2009-11-04T15:08:32Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* accogliere gli studenti&lt;br /&gt;
** proporgli la metodologia (trovare la documentazione)&lt;br /&gt;
** insegnargli (per le conoscenze di base e di autonomia)&lt;br /&gt;
** laboratori ( come la pratica in aula )&lt;br /&gt;
** leggere e spiegare il codice insieme&lt;br /&gt;
** studenti tutor (spingerli alla soluzione giusta, aumentare la loro autonomia)&lt;br /&gt;
** gestione del progetto e line guida&lt;br /&gt;
 &lt;br /&gt;
* lavorare in sinergia tra mondo professionale e professori universitari/docenti&lt;br /&gt;
** configurazione del progetto&lt;br /&gt;
** avviare progetti di ricerca e sviluppo &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Education Project Effort &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Efforts | Efforts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Click Here to visit Education Project Effort wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;The Benefits&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Teachers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibility&lt;br /&gt;
** Keep the contact with the reality of Industrial Projects&lt;br /&gt;
** direct contacts with high level projects&lt;br /&gt;
** Share their knowledge with other Teachers and Professional&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Students&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project&amp;diff=145858</id>
		<title>Education Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project&amp;diff=145858"/>
		<updated>2009-11-04T10:08:48Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=center style=&amp;quot;margin-left: 15px; border:1px solid #aaaaaa; background-color:#f9f9f9; padding:5px; font-size: 95%;&amp;quot; class=box&lt;br /&gt;
|--- &lt;br /&gt;
!align=center style=&amp;quot;background:#ccccff;&amp;quot; |&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[[http://education.openoffice.org/ Education project]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Categories:&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [[:Category:Education]]&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;[http://education.openoffice.org/ Education project: the official site]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;plainlinks&amp;quot;&amp;gt; &amp;#039;&amp;#039;[{{SERVER}}{{localurl:Template:Education|action=edit}} edit] this model.&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Welcome to the Education project ! ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039;[English]  Howto Start &amp;#039;&amp;#039;&amp;#039; [[Education_Project/Welcome en | &amp;#039;&amp;#039;&amp;#039;Click here&amp;#039;&amp;#039;&amp;#039; to read the English version]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039;[Français]  Pour bien commencer&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Bienvenue fr | - Cliquer ici pour lire la version française ]] &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;[German]  Wie man anfängt&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Willkommen de | &amp;#039;&amp;#039;&amp;#039;Hier klicken&amp;#039;&amp;#039;&amp;#039; und die deutschsprachige Version lesen]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039; [Bengali] কি করে যোগদান করবেন &amp;#039;&amp;#039;&amp;#039; [[Education_Project/Welcome bn | &amp;#039;&amp;#039;&amp;#039;ক্লিক করুন&amp;#039;&amp;#039;&amp;#039; বাংলায় পড়ার জন্য]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039; [中文] 如何开始 &amp;#039;&amp;#039;&amp;#039; 阅读中文版请[[Education_Project/Welcome zh |&amp;#039;&amp;#039;&amp;#039;点击这里&amp;#039;&amp;#039;&amp;#039;]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039; [Italian] Per iniziare &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
[[Education_Project/Welcome it | clicca qui per leggere la versione italiana]] &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:green; font-size:18px&amp;quot;&amp;gt; &amp;#039;&amp;#039;&amp;#039; [Japanese] ( to be translated in your locale) &amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;translate the welcome and add your locale !! &amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The Education project Team ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Team  | ==&amp;gt; Click here to know who we are]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Page under construction. You are welcome to contribute :-) &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have urgent questions, or need informations, please join us on our IRC chat channel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Server is : irc.freenode.net &lt;br /&gt;
&lt;br /&gt;
Channel is #education.openoffice.org   (english)&lt;br /&gt;
&lt;br /&gt;
Please remember the #&lt;br /&gt;
&lt;br /&gt;
See you on the IRC chat :-)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or subscribe to the mailing list: dev@education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; [[http://education.openoffice.org/servlets/ProjectMailingListList Subscribe to the mailing list]]&lt;br /&gt;
&lt;br /&gt;
=== Short News from the subprojects ===&lt;br /&gt;
&lt;br /&gt;
This is the place to provide updates and news about projects under the Education Project. To create a news item simply set the project name in bold before the news content. Please write in English only and add the latest item over the last one.&lt;br /&gt;
&lt;br /&gt;
* [http://2009.rmll.info/?lang=en LSM 2009 (Nantes, France)]&lt;br /&gt;
* Solutions Linux 2009 ( Paris France)&lt;br /&gt;
* Rencontres de l&amp;#039;ORME 2009&lt;br /&gt;
* Eric Bachard will represent Education Project at [http://www.fosdem.org/2009/schedule/devroom/openofficeorg FOSDEM 2009 OpenOffice.org DevRoom]&lt;br /&gt;
* Mathieu Lalanne will represent Education Project at [http://www.montpel-libre.fr/index.php?2008/10/16/6-le-3-decembre-prochaine-install-party-et-salon-sur-les-technologies-de-l-information-et-de-la-communication-a-dideris Live eTic 2008] Montpelier France) the 3rd December 2008&lt;br /&gt;
* Education Project will be present at [http://www.educatice.com/ Educatice 2008 (Paris France)], 25th to 28th November 2008&lt;br /&gt;
* Rakesh Pandit workout has been accepted at [https://foss.in/ FOSS.in, Bangalore India] (25th to 28th November )&lt;br /&gt;
* [http://http://jm2l.linux-azur.org J2ML , Nice France] ( 15th of November )&lt;br /&gt;
* [http://fsoss.senecac.on.ca/2008/ FSOSS 2008], at Seneca College ( Toronto, Canada )  23rd 24th Ocbtober&lt;br /&gt;
* Education Project was represented at &amp;#039;&amp;#039;&amp;#039;Journée travaill collaboratif at Ecole Normale Supérieure (rue d&amp;#039;Ulm), Paris France&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Education Project&amp;#039;&amp;#039;&amp;#039; is invited at &amp;#039;&amp;#039;&amp;#039;Paris Capitale du Libre&amp;#039;&amp;#039;&amp;#039; by the &amp;#039;&amp;#039;&amp;#039;SCEREN&amp;#039;&amp;#039;&amp;#039; (thanks to Jean-Pierre Archambault) &lt;br /&gt;
* Presentation about &amp;#039;&amp;#039;&amp;#039;Education Project&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;OPLC&amp;#039;&amp;#039;&amp;#039; at &amp;#039;&amp;#039;&amp;#039;Epitech Paris&amp;#039;&amp;#039;&amp;#039;, 24th September (thanks to Pierre Pasteau for the invitation)&lt;br /&gt;
* ( ericb September 14th 2008 ) Two new Domain devs for the Education Project : congratulation to Pierre Pasteau and Rakesh Pandit !&lt;br /&gt;
* (rbircher December 13th 2007) &amp;#039;&amp;#039;&amp;#039;Project Switzerland&amp;#039;&amp;#039;&amp;#039; We start searching people for a association in Switzerland&lt;br /&gt;
* (rbircher December 10th 2007) &amp;#039;&amp;#039;&amp;#039;Website:&amp;#039;&amp;#039;&amp;#039; Nicolas Jeudy working on the layout&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Education Project Effort &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Efforts | Efforts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Click Here to visit Education Project Effort wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Projects Students are working on &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
[FIXME] : add the projects in progress, to retrieve easely who does what&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Education Project ClassRoom&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Education_Courses | Education Courses]] ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_ClassRoom |  ==&amp;gt; Click Here to visit Education Project ClassRoom wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Todo ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;List in construction. You can help us complete it and improve on it &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
( Brainstorming  in progress )&lt;br /&gt;
&lt;br /&gt;
* Revamp http://education.openoffice.org&lt;br /&gt;
* Make the page static &lt;br /&gt;
* Organize the wiki page&lt;br /&gt;
* Create new entries : locales ?  /  tools ?  /  Success stories ? / Partners ?&lt;br /&gt;
&lt;br /&gt;
* Resources : ask an entry for every school present on the site ? (annually ?) &lt;br /&gt;
&lt;br /&gt;
* QA :  define default owner for education project issues&lt;br /&gt;
&lt;br /&gt;
* Be present and visible  (please complete the list) :&lt;br /&gt;
&lt;br /&gt;
* PCIE/EDCL : http://www.pcie.tm.fr/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Recent Issues&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Urgent&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) Installation / Usability &lt;br /&gt;
&lt;br /&gt;
* OpenOffice.org installation , mainly under Microsoft Windows, is problematic ( unique registration, ...etc)&lt;br /&gt;
* Installation in a rightless environment&lt;br /&gt;
&lt;br /&gt;
2) Compatibility &lt;br /&gt;
&lt;br /&gt;
Again, with MS Office &lt;br /&gt;
(examples, precise case, writing of a guide avoiding issues, find the most known of them .. )&lt;br /&gt;
&lt;br /&gt;
3) Maths&lt;br /&gt;
&lt;br /&gt;
* formulas alignments&lt;br /&gt;
&lt;br /&gt;
This is an incredibly well known and important default. Some migrations failed just because of this &amp;quot;detail&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
See the sadly well known issue 972 , and referenced in IssueZilla since may 2001  (yes 2001 !)  &lt;br /&gt;
URL :  http://qa.openoffice.org/issues/show_bug.cgi?id=972&lt;br /&gt;
&lt;br /&gt;
4) Unclassified&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Suggestions of amelioration&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Maxima&lt;br /&gt;
&lt;br /&gt;
Use Maxima in OpenOffice.org ?&lt;br /&gt;
&lt;br /&gt;
Partial answer : as soon as I&amp;#039;ll have the answer to &amp;quot;how interface&amp;quot; OpenOffice.org and Application written in Lisp ( Maxima is written in Lisp ), I promise I&amp;#039;ll take the task over.&lt;br /&gt;
&lt;br /&gt;
Update:  I got some infos from  Eike Rathke and Kendy. Playing with fork() exec() wait() .. stay tuned.&lt;br /&gt;
&lt;br /&gt;
[[User:Ericb|Ericb]] 12:07, 25 December 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Suggestion: instead of trying to do this by hand, use the Expect library; an Expect module for OOo would be really useful.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Success stories&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Any positive success story of installation and /or use in your school, interests us.&lt;br /&gt;
&lt;br /&gt;
Initiation to OpenOffice.org use&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Be extremely careful is recommended, only the French Eductional system is described below&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Which formations could concern OpenOffice.org ? &lt;br /&gt;
&lt;br /&gt;
- type de formation : secondary, profesional formations ?&lt;br /&gt;
- concerned courses:  Maths ? Physics ? ( Other ? )&lt;br /&gt;
&lt;br /&gt;
URL of reference : http://info.sio2.be/calcooo/index.php  ( French, sorry )&lt;br /&gt;
&lt;br /&gt;
Plan (translated from French ): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1. Introduction to a Spreadsheet use with OpenOffice.org (mise à jour 07/01/2006)&lt;br /&gt;
&lt;br /&gt;
2. Use of Calc functions (last update 17/01/2006)&lt;br /&gt;
&lt;br /&gt;
3. The alternative with the Spreadsheet (last update 12/01/2006)&lt;br /&gt;
&lt;br /&gt;
4. Create diagrams using OpenOffice.org Calc&lt;br /&gt;
&lt;br /&gt;
5. Improved study of Mathematical diagrams ( last update 16/05/2006)&lt;br /&gt;
&lt;br /&gt;
Share your opinion whith this course. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For every part, it could be interesting to define :&lt;br /&gt;
&lt;br /&gt;
The relevant concerned programs&lt;br /&gt;
&lt;br /&gt;
- the plan of the lesson&lt;br /&gt;
&lt;br /&gt;
- the prerequisites of the lesson&lt;br /&gt;
&lt;br /&gt;
- the objectives, well justified in the referential of the program&lt;br /&gt;
&lt;br /&gt;
- the estimated time for the lesson&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pedagogical notes creation&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Target: &amp;#039;&amp;#039;&amp;#039; create pedagogical notes for the existing tools, improving the role of OpenOffice.org&amp;#039;&amp;#039;&amp;#039; :&lt;br /&gt;
&lt;br /&gt;
Every teacher will certainly have a personal way, but to obtain something consistent, it will be to follow a common skeleton, everybody is invited to improve.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
* The pedagogical frame of use: public / level &lt;br /&gt;
&lt;br /&gt;
* prerequisites,&lt;br /&gt;
&lt;br /&gt;
* the place in the progression, &lt;br /&gt;
&lt;br /&gt;
* the time of the sequence..etc&lt;br /&gt;
&lt;br /&gt;
* objectives,&lt;br /&gt;
&lt;br /&gt;
* the place dans le referential of the program,&lt;br /&gt;
&lt;br /&gt;
* limits .. (thanks to improve and complete the list)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Mutualisation of documents&amp;#039;&amp;#039;&amp;#039; : ADD A LICENSE FOR THE CONTENT &lt;br /&gt;
&lt;br /&gt;
[http://eric.bachard.free.fr/Education/Resources/Education_template.sxw Example of downloadable document with licence]&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Suggestions for academical correspondents&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;recent the schools using OpenOffice.org&amp;#039;&amp;#039;&amp;#039; ( write a list on the Wiki ? )&lt;br /&gt;
&lt;br /&gt;
-  &amp;#039;&amp;#039;&amp;#039;inform&amp;#039;&amp;#039;&amp;#039; people managing / to be aware of the project existence &amp;#039;&amp;#039;&amp;#039;and invite them to join us&amp;#039;&amp;#039;&amp;#039; (Education Project, dev@education.openoffice.org list)&lt;br /&gt;
&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;keep the list of known issues up to date&amp;#039;&amp;#039;&amp;#039; , and define a &amp;#039;&amp;#039;&amp;#039;list of priorities&amp;#039;&amp;#039;&amp;#039; : we need to concentrate our efforts to the correction of such issues !&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;participate&amp;#039;&amp;#039;&amp;#039;, if possiblee, to events who can involve OpenOffice.org project in your academy&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;recent&amp;#039;&amp;#039;&amp;#039; such events&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;recent existing tools and documents&amp;#039;&amp;#039;&amp;#039;, who bring a value added the pedagogical interest OpenOffice.org to be used ( next step : put them on the site, for download, but define precisely how do that &amp;quot;before&amp;quot; )&lt;br /&gt;
- &amp;#039;&amp;#039;&amp;#039;be visible&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Regular Events &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
There are many events where the OpenOffice.org Education Project is represented. &lt;br /&gt;
&lt;br /&gt;
Feel free to add the one you did.&lt;br /&gt;
&lt;br /&gt;
=== Events 2009 ===&lt;br /&gt;
&lt;br /&gt;
[[Education_Project/Events 2009]]&lt;br /&gt;
&lt;br /&gt;
=== Events 2008 ===&lt;br /&gt;
&lt;br /&gt;
[[Education_Project/Events 2008]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FIXME: add rules for people representing the Education Project&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Localisation projects ===&lt;br /&gt;
&lt;br /&gt;
Below you will find all sub-projects of the main education project. &lt;br /&gt;
&lt;br /&gt;
Those sub-projects are a good place to find :&lt;br /&gt;
*resources in your own language, &lt;br /&gt;
*documentation related to your educational system&lt;br /&gt;
*a good starting point to build a bridge between OOo development and education in your own country.&lt;br /&gt;
*that you bring into it !&lt;br /&gt;
&lt;br /&gt;
Join us :&lt;br /&gt;
&lt;br /&gt;
==== fr : Education Project in French ====&lt;br /&gt;
&lt;br /&gt;
For French speaking countries : [[fr-EDUCATION]]&lt;br /&gt;
&lt;br /&gt;
Switzerland project ( german only at this time ) : [[Project_EDUCATION-ch]]&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=blue&amp;gt;List of schools participating to the Effort &amp;lt;/font&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Canada &lt;br /&gt;
&lt;br /&gt;
* [http://www.senecac.on.ca/ &amp;#039;&amp;#039;&amp;#039;Seneca College&amp;#039;&amp;#039;&amp;#039; ]  will provide students and professors working on OpenOffice.org (work in progress: [[Education_Project/Effort/Seneca | dedicated wiki page for Seneca College contributions]] )&lt;br /&gt;
&lt;br /&gt;
France &lt;br /&gt;
&lt;br /&gt;
Engineers schools or University&lt;br /&gt;
&lt;br /&gt;
* [http://www.ec-nantes.fr/ &amp;#039;&amp;#039;&amp;#039;Ecole Centrale Nantes&amp;#039;&amp;#039;&amp;#039;]  (students and professors) (work in progress: [[Education_Project/Effort/Ecole_Centrale_Nantes | dedicated wiki page for Ecole Centrale Nantes contributions]] )&lt;br /&gt;
&lt;br /&gt;
* [http://www.utbm.fr &amp;#039;&amp;#039;&amp;#039;UTBM&amp;#039;&amp;#039;&amp;#039;] ( students and one professor)&lt;br /&gt;
&lt;br /&gt;
* [http://www.epitech.eu/ &amp;#039;&amp;#039;&amp;#039;Epitech&amp;#039;&amp;#039;&amp;#039;] (students)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Secondary&lt;br /&gt;
&lt;br /&gt;
* Collège Le Trion Samer (other contributions to the Project)&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;font color=blue&amp;gt;Linux Distributions participating to the Effort &amp;lt;/font&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Complete me  :-)&lt;br /&gt;
&lt;br /&gt;
=== Improve me ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;FIXME&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* Define tabs for every country ? &lt;br /&gt;
&lt;br /&gt;
* Define arrays for all schools, including Schools logos, contacts for every ... etc ?&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;please complete the list, and define/add contacts&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
French schools already contacted : &lt;br /&gt;
&lt;br /&gt;
* INSA Lyon  [http://www.insa-lyon.fr/ INSA Lyon]&lt;br /&gt;
* INSA Toulouse [http://www.insa-toulouse.fr/ INSA Toulouse]&lt;br /&gt;
* IUT Blagnac [http://www.iut-blagnac.fr/ IUT Blagnac]&lt;br /&gt;
* ENSEEIHT [http://www.enseeiht.fr ENSEEIHT]&lt;br /&gt;
&lt;br /&gt;
=== Projects in progress === &lt;br /&gt;
&lt;br /&gt;
=== Improve the OOo Impress part for TabletPC uses (Ecole Centrale de Nantes) ===&lt;br /&gt;
The team of students of the ECN :&lt;br /&gt;
* Guillaume Arfaoui&lt;br /&gt;
* Frédéric Gelot&lt;br /&gt;
* Olivier Girardot&lt;br /&gt;
* Sashi Juganaikloo&lt;br /&gt;
* Florent Rouvière&lt;br /&gt;
* Pierre-Jean Parot&lt;br /&gt;
* Aude Quintana&lt;br /&gt;
&lt;br /&gt;
and the teacher leading this project Morgan Magnin managed (with many help) to add drawing features on the slideshow and sd modules, in order to be able to draw on an impress presentation during the slideshow, changing colors and stroke width easily. &lt;br /&gt;
&lt;br /&gt;
These changes make OpenOffice.org even more relevant to use in a TabletPC environment. &lt;br /&gt;
&lt;br /&gt;
You can find more informations on the project on the blog dedicated to the project (French) [https://pedagogie.ec-nantes.fr/tablet-pc/ TabletPC]&lt;br /&gt;
&lt;br /&gt;
=== Volunteers to revamp the site ===&lt;br /&gt;
&lt;br /&gt;
* Raphael Bircher&lt;br /&gt;
* Nicolas JEUDY&lt;br /&gt;
&lt;br /&gt;
==== brainstorming ====&lt;br /&gt;
&lt;br /&gt;
* [[Education_revamp_site | brainstorm for education project website]]&lt;br /&gt;
* [[Education_Webconcept | Webconcept for education project website]]*&lt;br /&gt;
&lt;br /&gt;
=== IRC channel === &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;All informations are now available at &amp;#039;&amp;#039;&amp;#039;[[Education_IRC_meetings]]&amp;#039;&amp;#039;&amp;#039; wiki page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proposal : have regular IRC meetings ?  &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;First IRC meeting scheduled for the week 12th - 17th of November 2007&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Proposed : &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;server :  irc.freenode.net    Channel : #education.openoffice.org &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Done :&lt;br /&gt;
&lt;br /&gt;
Register the channel : Chanserv is set as guard , mode secure On, Topiclock is on&lt;br /&gt;
Define operators / tasks / Action Items&lt;br /&gt;
&lt;br /&gt;
+ complete the list on OpenOffice.org wiki page&lt;br /&gt;
&lt;br /&gt;
=== Courses ===&lt;br /&gt;
&lt;br /&gt;
FIXME : needs rework &lt;br /&gt;
&lt;br /&gt;
This section has been moved to : [[Education Courses]]&lt;br /&gt;
&lt;br /&gt;
===  Whatever ===&lt;br /&gt;
&lt;br /&gt;
FIXME : complete :-)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=blue&amp;gt;[http://wiki.ooo4kids.org/index.php/Main_Page   &amp;#039;&amp;#039;&amp;#039;Main OOo4Kids page&amp;#039;&amp;#039;&amp;#039;]&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Education_Project/OOo4Kids | OOo4Kids(old)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Project]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145857</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145857"/>
		<updated>2009-11-04T10:07:43Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* welcome students&lt;br /&gt;
** propose them methodology ( find documentation)&lt;br /&gt;
** teach them (for basic knowledge and autonomy) &lt;br /&gt;
** work shops ( like the practice in ClassRoom )&lt;br /&gt;
** read and explain code together&lt;br /&gt;
** mentor students (drive them to the right solution, and raise their autonomy)&lt;br /&gt;
** project management and guidance&lt;br /&gt;
 &lt;br /&gt;
* work for synergy between professional world and university professors / teachers &lt;br /&gt;
** project setup&lt;br /&gt;
** start research and development oriented projects&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Education Project Effort &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Efforts | Efforts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Click Here to visit Education Project Effort wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;The Benefits&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Teachers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibility&lt;br /&gt;
** Keep the contact with the reality of Industrial Projects&lt;br /&gt;
** direct contacts with high level projects&lt;br /&gt;
** Share their knowledge with other Teachers and Professional&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Students&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145856</id>
		<title>Education Project/Welcome it</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Education_Project/Welcome_it&amp;diff=145856"/>
		<updated>2009-11-04T09:59:14Z</updated>

		<summary type="html">&lt;p&gt;Deneb alpha: Created page with &amp;#039;{{DISPLAYTITLE: Benvenuto}}  Questo è il logo del progetto Educazione:  Image:LaMouette-Degree_mini.jpg  Autore :  Ben Bois ( ben at hooboo dot com )  == &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il proget…&amp;#039; (checkpoint save)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE: Benvenuto}}&lt;br /&gt;
&lt;br /&gt;
Questo è il logo del progetto Educazione:&lt;br /&gt;
&lt;br /&gt;
[[Image:LaMouette-Degree_mini.jpg]]&lt;br /&gt;
&lt;br /&gt;
Autore :  Ben Bois ( ben at hooboo dot com )&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Cos&amp;#039;è il progetto Educazione ?&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
In OpenOffice.org tutto è un progetto. Tutti i siti internet si attengono a questa regola : &lt;br /&gt;
http://$(project).OpenOffice.org &lt;br /&gt;
&lt;br /&gt;
ad esempio: http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
Attualmente questo è un progetto in fase di incubazione. Ciò vuol dire che si è appena iniziato a realizzarlo e c&amp;#039;è ancora molto da fare prima di potergli assegnare lo stato di progetto.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;...  Abbiamo bisogno di te !&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;L&amp;#039;idea&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;idea: &amp;#039;&amp;#039;&amp;#039;creare uno stretto legame tra il mondo dell&amp;#039;educazione ed il progetto OpenOffice.org&amp;#039;&amp;#039;&amp;#039;, puntando principalmente su &lt;br /&gt;
* sinergia &lt;br /&gt;
* visibilità &lt;br /&gt;
* e sviluppo per tutti&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;La nostra missione&amp;#039;&amp;#039;&amp;#039; == &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In 3 punti&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire un luogo per gli utenti OpenOffice.org nel contesto scolastico&amp;#039;&amp;#039;&amp;#039;: discutendo su come adattare OpenOffice.org all&amp;#039;insegnamento, alle proprie necessità, ecc... ( sono considerati tutti i livelli scolastici )&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Fornire e promuovere strumenti&amp;#039;&amp;#039;&amp;#039; di OpenOffice.org adatti per l&amp;#039;uso pedagogico&lt;br /&gt;
&lt;br /&gt;
	- &amp;#039;&amp;#039;&amp;#039;Scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; :  possiamo insegnarti tutto sul codice di OpenOffice.org e su come aggiungere il tuo: basta leggere più avanti&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Obiettivi per scrivere codice insieme&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* welcome students&lt;br /&gt;
** propose them methodology ( find documentation)&lt;br /&gt;
** teach them (for basic knowledge and autonomy) &lt;br /&gt;
** work shops ( like the practice in ClassRoom )&lt;br /&gt;
** read and explain code together&lt;br /&gt;
** mentor students (drive them to the right solution, and raise their autonomy)&lt;br /&gt;
** project management and guidance&lt;br /&gt;
 &lt;br /&gt;
* work for synergy between professional world and university professors / teachers &lt;br /&gt;
** project setup&lt;br /&gt;
** start research and development oriented projects&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:red; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Education Project Effort &amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Idea based on [[Efforts | Efforts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;left&amp;quot; style=&amp;quot;color:blue; font-size:18px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039; [[Education_Project/Effort |  ==&amp;gt; Click Here to visit Education Project Effort wiki page]]&amp;#039;&amp;#039;&amp;#039; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;The Benefits&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Teachers&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Visibility&lt;br /&gt;
** Keep the contact with the reality of Industrial Projects&lt;br /&gt;
** direct contacts with high level projects&lt;br /&gt;
** Share their knowledge with other Teachers and Professional&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For the Students&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
** Have some guidance in their project works is motivating&lt;br /&gt;
** Work directly with high level Professional developers is motivating&lt;br /&gt;
** They contribute for a real and exciting Project&lt;br /&gt;
** Visibility and credibility : good conributions, and open sourced code are a promise for a good job in the future&lt;br /&gt;
** Can valorize their experience&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The OpenOffice.org Project&amp;#039;&amp;#039;&amp;#039; will ...&lt;br /&gt;
** win new developers, and contributors&lt;br /&gt;
** progress because new eyes means new visions, and new solutions&lt;br /&gt;
** contribute to a social effect: share the knowledge &lt;br /&gt;
** involve more professors and students to participate, and collaborate for OpenSource project&lt;br /&gt;
&lt;br /&gt;
== OUR SPONSORS ==&lt;br /&gt;
&lt;br /&gt;
(any candidate  ? :-)  )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PARTNERS are non profit Organisations ==&lt;br /&gt;
&lt;br /&gt;
If you are a school, and want to support us, please add you in the list :&lt;br /&gt;
&lt;br /&gt;
	University of Technology of Belfort Montebeliard :  http://www.utbm.fr [6]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What can you do to help us ? ==&lt;br /&gt;
&lt;br /&gt;
DO YOU HAVE A SUGGESTION ?  WANT TO DO OR PROPOSE SOMETHING ?&lt;br /&gt;
&lt;br /&gt;
	Just do it !!   ...and see below what fits at the best to your needs !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CONTRIBUTE ==&lt;br /&gt;
&lt;br /&gt;
Student, Professor, Developer ( C++ , Objective-C , C, Python, everything website) , sponsor or volunteer, you certainly can help us, and feel welcome in Education project !!&lt;br /&gt;
&lt;br /&gt;
With us, you can learn :&lt;br /&gt;
&lt;br /&gt;
* how the source code for OpenOffice.org is organized so that you can develop effectively&lt;br /&gt;
* which tools are used in OpenOffice.org&lt;br /&gt;
* how to build OpenOffice.org for your Operating System&lt;br /&gt;
* how a new feature implementation is accepted and scheduled&lt;br /&gt;
* how the QA is managed&lt;br /&gt;
* how the component or module you want to understand and possibly contribute to functions&lt;br /&gt;
* what to do if you want to add something&lt;br /&gt;
* what to do if you want to create an extension&lt;br /&gt;
* how to define applications for your students adapted to OpenOffice.org&lt;br /&gt;
* how to become a Domain Developer for OpenOffice.org project&lt;br /&gt;
&lt;br /&gt;
Last: we are interested to provide courses about OpenOffice.org. All suggestions are welcome !&lt;br /&gt;
&lt;br /&gt;
== DONATE ==&lt;br /&gt;
&lt;br /&gt;
Soon you&amp;#039;ll be able to help the project by making individual or corporate donations to the project with the aim of furthering the development of infrastructure to sustain the project longevity.&lt;br /&gt;
&lt;br /&gt;
== SEARCH TOOLS about EDUCATION and OpenOffice.org ==&lt;br /&gt;
&lt;br /&gt;
	We do provide tools using OpenOffice.org and adapted to your pedagogy. &lt;br /&gt;
	Every time we can, we try to provide &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== PROVIDE US EXPERTISE ==&lt;br /&gt;
&lt;br /&gt;
Are you using OpenOffice.org in your courses/studies ? Please :&lt;br /&gt;
&lt;br /&gt;
	- let us know which School you represent&lt;br /&gt;
	- what you did&lt;br /&gt;
	- provide us pedagogical methods adapted to teaching&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Where start ? ==&lt;br /&gt;
=== JOIN THE PROJECT ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks to respect the steps below :&lt;br /&gt;
&lt;br /&gt;
Go at http://education.openoffice.org &amp;lt;= exactly this site ...&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you don&amp;#039;t have a login, create one is mandatory ( on top right)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Validate all the steps allowing to connect yourself to the Education Project&amp;#039;&amp;#039;&amp;#039; ( confirm the subscription mail and so on )&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Log you in&amp;#039;&amp;#039;&amp;#039; with the password you have choosen,&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;=&amp;gt; Click on Membership, then on Request project membership / role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Finaly, click on  &amp;quot;Submit Request&amp;quot; and wait for a project Lead to accept your pending request&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it  :-)&lt;br /&gt;
&lt;br /&gt;
=== MAILING LISTS ===&lt;br /&gt;
&lt;br /&gt;
Just subscribe to dev@education.openoffice.org (highly advised) at : http://education.openoffice.org/servlets/ProjectMailingListList [3]&lt;br /&gt;
&lt;br /&gt;
Archives are extremely important, and are usefull to retrieve something being discussed long time ago.&lt;br /&gt;
&lt;br /&gt;
=== WEB ===&lt;br /&gt;
&lt;br /&gt;
	Fixed informations are on Education project website : [1] http://education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find : links for tools, links for exchange area FIXME ( add some of them )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== WIKI ===&lt;br /&gt;
&lt;br /&gt;
	Alive informations stand in our wiki :  [2]  http://wiki.services.openoffice.org/wiki/Education_Project&lt;br /&gt;
&lt;br /&gt;
	Localized wiki pages : &lt;br /&gt;
&lt;br /&gt;
		French page :  &lt;br /&gt;
&lt;br /&gt;
		Switzerland ( german at this time) : [3] http://wiki.services.openoffice.org/wiki/Project_EDUCATION-ch&lt;br /&gt;
&lt;br /&gt;
		(other ) : TODO &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IRC  ===&lt;br /&gt;
&lt;br /&gt;
Discuss with us ! &lt;br /&gt;
&lt;br /&gt;
	We have an IRC channel  and you can meet us for true: &lt;br /&gt;
&lt;br /&gt;
	Server is irc.freenode.net&lt;br /&gt;
	Channel is #education.openoffice.org&lt;br /&gt;
&lt;br /&gt;
	See you :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== REGULAR IRC MEETINGS ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	We hold regular IRC meetings, and all logs are public.&lt;br /&gt;
&lt;br /&gt;
	You&amp;#039;ll find them here : http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs  [4]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	If you want to join, please have a look at : http://wiki.services.openoffice.org/wiki/Education_IRC_meetings  [5]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LINKS (summary ) ===&lt;br /&gt;
* [http://education.openoffice.org The main website]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_Project The Wiki]&lt;br /&gt;
* [http://education.openoffice.org/servlets/ProjectMailingListList Mailing list]&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Previous_Education_Meetings_logs Logs] of previous Education IRC Meetings&lt;br /&gt;
* [http://wiki.services.openoffice.org/wiki/Education_IRC_meetings Education IRC meetings]&lt;br /&gt;
* [http://www.utbm.fr University of Technology of Belfort Montbeliard]&lt;br /&gt;
* [http://projects.openoffice.org/incubator.html Incubator projects]&lt;br /&gt;
&lt;br /&gt;
=== EDUCATION Team ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[[Education_Project/Team | Click Here to know who we are, and more]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Education]]&lt;/div&gt;</summary>
		<author><name>Deneb alpha</name></author>
	</entry>
</feed>