03-21-2008, 05:07 AM
|
#2 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Hmm, feeling a little silly now, I changed it to
PHP Code:
$worked = preg_match_all("/(\<p\>[a-z0-9_]*\<\/p\>)/i", $match, $matches);
Now, I just have to figure out how to allow other tags inside the P tags... question still stands though, is there a better method for doing this, or should I just keep with the regular expression till I get it?
__________________
uʍop ǝpısdn sı ɹǝʇndɯoɔ ɹnoʎ sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
|
|
|
|