Find all character exept .

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
juanpgadea
Posts: 10
Joined: Mon Jun 12, 2006 12:11 pm

Find all character exept .

Post by juanpgadea »

Hi i have to find all characters (upper case and lower case - , ; Ñ � É � Ó Ú á é í ó ú ñ) exept .

I have to convert these

ART�CULO 10. DAÑO, CULPA; VIOLACIÓN-RAPTO ayuda atención. La demarcación es.

into these

ART�CULO 10. DAÑO, CULPA; VIOLACIÓN-RAPTO ayuda atención.
La demarcación es.


Thanks for the help
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

I don't understand what you mean here:
Hi i have to find all characters (upper case and lower case - , ; Ñ � É � Ó Ú á é í ó ú ñ) exept .
To do this:
I have to convert these

ART�CULO 10. DAÑO, CULPA; VIOLACIÓN-RAPTO ayuda atención. La demarcación es.

into these

ART�CULO 10. DAÑO, CULPA; VIOLACIÓN-RAPTO ayuda atención.
La demarcación es.
Try this:

Search for: (^[^.]*\.[^.]*\.)
Replace with: \1\n

You have only provided one sample line, so this is based on similar line structure. The first two "sentences" stay on the first line, the third sentence goes onto the next line.

Use the following settings:
-----------------------------------------
[X] Regular expression
Replace All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Hope this was helpful.............good luck,
Bob
juanpgadea
Posts: 10
Joined: Mon Jun 12, 2006 12:11 pm

THANKS

Post by juanpgadea »

Sorry because i wasn´t clear but you help me any way. Thanks a lot.
Post Reply