On 01/08/2013 12:45 PM, gordom wrote:
...
> In "real" life :-) there are lines starting with letters also. Only 
> these with "Set:" at the beginning should be left, rest is going to be 
> deleted.
> 
> Set:   01SA34509
> 0109SA
> 011017B
> S01020207B
> 010902B
> 01090002
> 011007B
> 01090001
> 090110
> Set:   0134501
> 011101
> HB01110102
> 01110103
> 080908
> Set:   0111679SE
> 0111SE
> 
> I'm surprised that there is no simple way to find everything except 
> "Set:.+$"
...

If you are going to have to do this on a 'regular basis' (pun intended),
install AltSearch[1] & then use select Regular Expression and:

\p[:alnum:]+\p

That will select all except the 'Set:' lines. You can then replace with
blank.

[1]
<http://extensions.libreoffice.org/extension-center/alternative-dialog-find-replace-for-writer>
- Help: <http://www.volny.cz/macrojtb/HelpAltSearch_en.html>



-- 
For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to