PencWeb
09-03-2002, 04:21 PM
Why isn't this working? It's suppose to change in a string [ b ]text here[ / b ] (with no spaces, obviously) to <b>text here</b> but it doesn't do anything, no error :( Any help appreciated! :)
$message = preg_replace("#\[b\]([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/b\]#si", "<b>\\1</b>", $message);
thanks,
- Shawn
$message = preg_replace("#\[b\]([a-z0-9\-\.,\?!%\*_\#:;~\\&$@\/=\+]+)\[/b\]#si", "<b>\\1</b>", $message);
thanks,
- Shawn
