The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
RegEx Expression Trouble
HowdA All,
I am hoping one of your gurus can help we out with a small regex problem. What I want to do is find all occurrences of "my test" in the following string: PHP Code:
So this is what im doing now: PHP Code:
Thanks all! |
#2
|
|||
|
|||
Ask your wife.
Sorry eyes are already giving me a hard time in keeping them open. If you would have posted this in the morning i would have given it a go. Might want to wait for Dean to reply. |
#3
|
||||
|
||||
Mrs Geek is too busy trying to find Regex for her new 'Get Geek to Wash Car Module 1.05'
Happily I have stuck it in a really good place where she should never find it Any help when you can is appreciated Comeon guys! Sont you want a cookie? AAAAAAAAAAAAAARGGGGGGGGGGGGGGGGGGGGGG I FREAKING HATE AUTOMERGE. How the hell are you supposed to bump something with auto merge? I need to find a way to get around this. |
#4
|
||||
|
||||
Please, for the love of PETE.... someone throw me a bone here.
|
#5
|
|||
|
|||
Does the <!-- nope> also have a closing tag, or is everything after that ignored?
|
#6
|
||||
|
||||
Hey Marco,
The tag was <!--nope-->, however I THINK I have found the solution like this: PHP Code:
Thanks for your help. |
#7
|
||||
|
||||
Yep, look ahead is the way to go.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|