Page 1 of 1

Find (some text and other characters) at the end of lines

Posted: Thu May 22, 2008 8:37 pm
by jpg
Sorry but the solution didn´t work i all cases

Example

Ihave thse:

Art. 37. Os serviços (art 234) de (Partes mantidas ional)
Art. 38. seguintes (partes 1º) e cláusulas (Redação nº 10)
1) eguinte Partes mantidas, clausulas (Derogado por)
a) Os serviços de
As aeronaves civis compreendem (artigos 72, I, 109)


I need these:
Art. 37. Os serviços (art 234) de
#(Partes mantidas ional)
Art. 38. seguintes (partes 1º) e cláusulas
#(Redação nº 10)
1) eguinte Partes mantidas, clausulas
#(Derogado por)
a) Os serviços de
As aeronaves civis compreendem
#(artigos 72, I, 109)


Thanks

Posted: Thu May 22, 2008 10:44 pm
by gan
You could try this one...

Search for:

Code: Select all

[^#](\([^\(\)]+\) *$)
And replace with this:

Code: Select all

\n#\1
Gan

Posted: Fri May 23, 2008 12:04 am
by jpg
THANKS IT WORKS PERFECT

Posted: Fri May 23, 2008 5:07 am
by Bob Hansen
Sorry but the solution didn´t work i all cases
It looks like you have changed your requirements.
But at least you have a working solution.