[pm-h] Change character code 160 to 32

Mike Flannigan mikeflan at att.net
Tue Oct 6 17:11:05 PDT 2009


Todd Rinaldo wrote:
> Mike, I ran across this as a more broad solution in my code. It
> leverages the POSIX printable character set.
>
> The below will replace all non-printable characters with "."
> s/\P{IsPrint}/./g;
>
> Todd

Thanks.  I appreciate it.


Mike



More information about the Houston mailing list