[thelist] CF: Regex CRLF in Studio?

Frank lists at frankmarion.com
Tue Jul 29 19:48:38 CDT 2003


When I'm done with a script for the day, I usually run the following regex 
replace on it, just to trim the excess tabs and spaces on blank lines.

Search for:
"(
[        ]+
)"

Replace with
"

"
When I do a regex search for \r I get the letter r, instead of a new line. 
What's the knack in Studio's extended find to be able to replace the above 
with the equivalent of

         Search for: (\r[\t ]+\r)
         Replace with "\r\r"


--
Frank Marion     lists at frankmarion.com      Keep the signal high.  



More information about the thelist mailing list