![]() |
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! |
Ask your wife. :D
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. |
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? http://www.gift-baskets-4u.com/image...20Chips%20.jpg 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. |
Please, for the love of PETE.... someone throw me a bone here.
|
Does the <!-- nope> also have a closing tag, or is everything after that ignored?
|
Hey Marco,
The tag was <!--nope-->, however I THINK I have found the solution like this: PHP Code:
Thanks for your help. |
Yep, look ahead is the way to go.
|
All times are GMT. The time now is 03:50 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:
|