Porsche_maniak
Active Member
Hi guys.
I have really big difficulties of doing the following so any help would be appreciated.
Here's my stack
Ok so i want to take the functions(that are bold) with regexr that contain test() function attached. It must work in all major browsers + IE6.
I have the following pattern but can't do it good enough to work.
\$\(.*\)\.test\(\d*\)\.(?:\r|\n|.)+\);(?:\$)+
Thanks
EDIT: Ok i found the proper pattern guys. It's :
\$\(.*\)\.test\(\d*\)\.[^\$]*
I have really big difficulties of doing the following so any help would be appreciated.
Here's my stack
Code:
[B]$(document).[COLOR="Red"]test(1000)[/COLOR].mouseover(function(){
alert(1[COLOR="Blue"]);[/COLOR] alert(2[COLOR="blue"]);[/COLOR]
}[COLOR="Blue"]);[/COLOR][/B]
$(document).inbetween();
[B]$(document).[COLOR="red"]test(2000)[/COLOR].mouseover(function(){alert(1); alert(2);});[/B]
Ok so i want to take the functions(that are bold) with regexr that contain test() function attached. It must work in all major browsers + IE6.
I have the following pattern but can't do it good enough to work.
\$\(.*\)\.test\(\d*\)\.(?:\r|\n|.)+\);(?:\$)+
Thanks
EDIT: Ok i found the proper pattern guys. It's :
\$\(.*\)\.test\(\d*\)\.[^\$]*
Last edited: