RE: [PHP] [url] to html

2003-01-24 Thread John W. Holmes
> 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

Re: [PHP] [url] to html

2003-01-24 Thread Leif K-Brooks
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