Hallo everyone.
I would appreciate your help with the regular expressions. I have a document consisting of hundreds of lines. A small sample is here:

Set:   01SA34509
0109SA
011017B
01020207B
010902B
01090002
011007B
01090001
090110
Set:   0134501
011101
01110102
01110103
080908
Set:   0111679SE
0111SE

I need to delete all text except these lines started with word "Set". If I use "set:.+" regular expression, all these lines, that should be kept, are selected. I cant find a way to reverse this selection. I tried "[^set:.+].+" and "[^(set:.+)].+" but they don't work. Could you please give me any clues? Thanks in advance. Regards,
gordom


--
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