> Hey,
>
> So I'm stripping illegal chars out of some text with a regex.  But I'm
> left with a bunch of ^M chars that seem to function as line breaks.
>
> Anyone know what string escape code corresponds to this char and/or any
> good way to catch it in a regex?
>

just use ctrl-v (insert char) to insert the ctrl-m

Granted, I'm assuming you're doing this from the command line or the vi
editor.

-Ken
_______________________________________________
PDXLUG mailing list
[EMAIL PROTECTED]
http://pdxlug.org/mailman/listinfo/pdxlug

Reply via email to