Quote:
Today at 03:51 PM cirisme said this in Post #7
Just tested it, and this works well:
PHP Code:
[disable]$message = preg_replace("/\[size=\+?[4-9]*\](.+)\[\/size\]/siU", "[size=3]\\1[/size]", $message);[/disable]
Enjoy
|
I tried that code as well and had problems.
Try the statement:
PHP Code:
I go to some fast food place and get super [size=+4]size 5[/size].
Size 5 gets replaced with .