Thanks - that works! – Mizpah Sep 9 '09 at 18:25.
String.match() always returns an array, even when there's only a single match (except when there's no match, then it returns NULL) In the case of patterns that include captured subgroups, String.match() will always return the entire pattern match at index 0, and then subsequent matching groups at indexes 1 through N. Here's a clear way to demonstrate that "hello". Match( /he(ll)(o)/ ); // yields "hello", "ll", "o".
I am entirely new to regex, and am trying to use it to match vales in order to map them to variables (javascript looking at the output in responceText generated from a php script). Of course I am after just 'GRAND JEEP CHEROKEE' in this instance :) - I am also unsure why I am getting back that precise output! Please note that I will need to assign multiple var$, each using a different start sting for the match!
Thanks in advance for any help!
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.