kewlhotrod

Untitled

Jul 1st, 2013
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <RalieghFhang> How could I go about modifying this code to match this, but then save what is in between quotation marks to a new variable?
  2. <RalieghFhang> var newNumData = stringData.match(/NEWDIR="([a-zA-Z]+)([0-9]+)"/);
  3. <RalieghFhang> That properly finds my line NEWDIR="xxxx20"
  4. * InezK is now known as InezK_away
  5. * InezK_away is now known as InezK
  6. <RalieghFhang> Now I need to somehow parse xxxxx20 into a new variable.
Advertisement
Add Comment
Please, Sign In to add comment