The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Regular Expressions to Replace Quoted Text
I'd like to remove quoted text from thread previews.
Basically I want to remove anything that is either [ quote=xxxx ]text here[ /quote ] or [ quote ]text here[ /quote ] (without spaces in the quote tags obviously). I'm not the greatest with regular expressions however and can't seem to figure out what to do here. My attempt was: PHP Code:
|
#2
|
|||
|
|||
PHP Code:
|
#3
|
||||
|
||||
Thanks but I tried that prior to my regex idea. This is a non-standard vB plugin that I've coded and it doesn't recognize that function.
|
#4
|
|||
|
|||
Quote:
ETA: like this: PHP Code:
|
#5
|
||||
|
||||
PHP Code:
Also: You only need groups () if you need something from them to be returned. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|