vb.net - What is the RegEx for this match? -



vb.net - What is the RegEx for this match? -

i trying match number before semicolon can't utilize quantifier in lookbehind have no thought how create work.

the string (yes, there tab spaces in between "item[##]" , "=")

<script language="javascript"> item[19] = 13; item[14] = 13; item[17] = 7; item[1] = 2; </script>

i'd 13, 13, 7, , 2

this current regex, not work:

(?<=item\[[0-9]).*?(?=;)

get @ matched grouping 1 captured using parenthesis ()

string literals utilize in programs:

@"item\[\d+\].*?=\s+(\d+);"

tested here

regex vb.net lookbehind quantifiers

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -