> how to chang [url=%link%]%descr%[/url] in %descr%
$new_str = preg_replace("!\[url=(.*)\](.*)\[/url\]!U","$2",$old_str);
should work...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (h
Take a look at my BBCode class,
http://www.phpclasses.org/browse.html/package/951.html.
Niels Uhlendorf wrote:
hi,
how to chang [url=%link%]%descr%[/url] in %descr%
thx 4 help.
Niels
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will
2 matches
Mail list logo