Ok, I can't get my head around regexpressions so I need a bit of help.
I'm trying to extract the text between two constants, but I'm encountering trouble.
Here's what the string looks like:
I want the text between the two spans, so I'm using a bit of regex to try and isolate them.
My regexp looks like this:
Doesn't seem to be right, can anyone help me fix this. Thanks
I'm trying to extract the text between two constants, but I'm encountering trouble.
Here's what the string looks like:
Code:
<span class=\"myText\">Random Text In here</span>
My regexp looks like this:
Code:
var re=/?span class=\"myText\"\>(.+?)\<./;

Comment