![]() |
regex and bbcode
I have a piece of text that has been retrieved from a vBulletin database. It may or may not contain bbcodes of any kind (img, html, code, php, b, i, so on).
I wish to remove all bbcode tags, but I also want to remove links that appear inside img tags. Is it possible to do it with regex? At the moment im using a modified strip_bbcode() function to look for each tag, but its slow, and id like to use a single preg function if i could. (if they need to be different for img, thats fine too) can anyone point me in the direction? :\ |
All times are GMT. The time now is 10:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|