Do not use regexen to parse markup - life if just too short to bother reinventing that particular wheel. Use a suitable HTML module. See Re: Some portion of the text missing for example.
In reply to Re: p tag substitution
by GrandFather
in thread p tag substitution
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |