RegEx to match a number in the second line
I need a regex to match a number in the second line. Similar input is like
this:
^C1.1
xC20
SS3
M 4
Decimal pattern (-?\d+(\.\d+)?) matches all numbers and second number can
be get in a loop on the code behind but I need a regular expression to get
directly the number in the second line.
No comments:
Post a Comment