Macro to replace comma with comma and carriage return

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
wagewhore
Posts: 2
Joined: Sun May 25, 2008 4:09 pm
Location: California, U.S.A.
Contact:

Macro to replace comma with comma and carriage return

Post by wagewhore »

This has likely been covered, but I'm not able to find it.. I have a file
  • that reads:

    name, name, name, name,

    How do write a macro to make it read:

    name,
    name,
    name,
    name,

    Thanks in advance![/code]
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Using "_" for space character below

Search for: ,_
Reeplace with: ,\n

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
wagewhore
Posts: 2
Joined: Sun May 25, 2008 4:09 pm
Location: California, U.S.A.
Contact:

Works like a charm!

Post by wagewhore »

Sweeeeeeeeeeeeeet!! Thanks Bob!
Post Reply