regex extract a text between string

时间:2016-03-02 10:50:28

标签: regex vb.net

are not so expert with regex i have this string:

Your value is 1, Your password is 39 - OK.

i would capture 3 results.

1

39

OK

i'm search on web but not find solutions thanks

1 个答案:

答案 0 :(得分:1)

^Your value is ([0-9]*), Your password is ([0-9]*) - ([^ ]*)\.$

here => http://regexr.com/3ctu4