Thanks, but that doesn't allow nested tags (a [b] tag inside of an [i] tag, for example).Nested tags? Do you mean [ib] ? Or [i[b]]?
If you mean [ib], then I'm afraid what you want cannot be done in ereg_replace.
As far as I am aware, that is.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php