Page 1 of 1

Macro to replace comma with comma and carriage return

Posted: Sun May 25, 2008 4:46 pm
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]

Posted: Mon May 26, 2008 2:49 am
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
-----------------------------------------

Works like a charm!

Posted: Mon May 26, 2008 5:51 pm
by wagewhore
Sweeeeeeeeeeeeeet!! Thanks Bob!