Hi,

I'm looking for the PHP equivalent to the Perl:

$var =~ s/regex/string/g

Substitute all occurrences of regex in $var with string.

TIA

Nigel

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to