Thread: Replace
View Single Post
Old 10-13-2007   #5 (permalink)
Marco Shaw [MVP]


 
 

Re: Replace

> PS > $r=[regex]'x';

And this will do a space:
$r=[regex]' '

In some cases, (much) more complex regular expressions are required to
match things just the way you want it.

Marco
My System SpecsSystem Spec