<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wiki.mkrd.info/index.php?action=history&amp;feed=atom&amp;title=Regular_Expressions_and_OpenOffice</id>
	<title>Regular Expressions and OpenOffice - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wiki.mkrd.info/index.php?action=history&amp;feed=atom&amp;title=Regular_Expressions_and_OpenOffice"/>
	<link rel="alternate" type="text/html" href="http://www.wiki.mkrd.info/index.php?title=Regular_Expressions_and_OpenOffice&amp;action=history"/>
	<updated>2026-04-09T11:25:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://www.wiki.mkrd.info/index.php?title=Regular_Expressions_and_OpenOffice&amp;diff=564&amp;oldid=prev</id>
		<title>Mkrdwiki: Created page with &quot;Linux is extraordinary powerful with its processing commands like grep. However, OpenOffice Search and Replace has some of that power, one that few people are aware of.   A few e...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mkrd.info/index.php?title=Regular_Expressions_and_OpenOffice&amp;diff=564&amp;oldid=prev"/>
		<updated>2011-06-27T23:13:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Linux is extraordinary powerful with its processing commands like grep. However, OpenOffice Search and Replace has some of that power, one that few people are aware of.   A few e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Linux is extraordinary powerful with its processing commands like grep. However, OpenOffice Search and Replace has some of that power, one that few people are aware of.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A few examples with using OpenOffice to process data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Find line containing string==&lt;br /&gt;
&lt;br /&gt;
.*SearchTerm.*$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Replace by placing find result on a new line==&lt;br /&gt;
&lt;br /&gt;
\r&amp;amp;\r&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Find several characters within a range of allowed character values==&lt;br /&gt;
&lt;br /&gt;
[A-Za-z0-9.-]*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Find an e-mail address==&lt;br /&gt;
&lt;br /&gt;
[A-Za-z0-9.-]+@[A-Za-z0-9.-]+&lt;br /&gt;
(note -- I do not claim this to be the perfect filter for finding emails)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sort list of lines==&lt;br /&gt;
&lt;br /&gt;
That option is now available in Writer, but I used to have to use Calc (spreadsheet) for that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Remove duplicates from list of lines==&lt;br /&gt;
&lt;br /&gt;
I usually do something like this by copy-pasting into Calc (the spreadsheet Open Office equivalent), highlighting that whole column, going Data&amp;gt;Filter&amp;gt;Standard filter. Under &amp;quot;Value&amp;quot; choose -not empty-. Click &amp;quot;More Options&amp;quot;. Select &amp;quot;No Duplicates&amp;quot;, then click OK. Paste the resulting list back into the Writer file.&lt;/div&gt;</summary>
		<author><name>Mkrdwiki</name></author>
	</entry>
</feed>