Tigratrus
Well-known member
Can anyone help me nail down the syntax for a preg_match to pull the BBCode out of the raw post content in the DB field?
It's gotta be pretty close to:
preg_match('/\[img(=(.*?))?\](.*?)\[\/img\]/', $subject, $results);
At least I *think* so, I'm not even vaguely a regexian .
Any help would be greatly appreciated!
James
It's gotta be pretty close to:
preg_match('/\[img(=(.*?))?\](.*?)\[\/img\]/', $subject, $results);
At least I *think* so, I'm not even vaguely a regexian .
Any help would be greatly appreciated!
James