Tuesday, 15 September 2015

Need a RegEx that will match a name="value" -


Even what I have so far, I'm not a Reggae expert in any way .... < I need to be able to match the globally (/ g)

  total-match = \ "([^ \"] *) \ "total-match =" 1618 "total-match =" 1618 "total-match =" 1618 "total-match =" 1618 "total-match = '1618' total-match = '1618' total-match = '1618' total-match = '1618 '   

  total-matched \ s * = \ s * ( ["']) (. *?) \ 1   
  • Overall - Truly matched
  • \ s * -
  • = - literal
  • \ s * - After the optional code =
  • ([''] ) - Match any type of quote, and remember it as \ 1
  • (. *?)
  • \ 1 - The non-greedy match for any lesson, which we matched earlier matches the same type of bid

No comments:

Post a Comment