Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
"
#Section(\d+)(?:(?!#Section\d).)*\bJack/M,(\d+)\h+(\d+(?:\.\d+)?)\s(\d+)\h+([-+]?\d+(?:\.\d+)?)\b
"
gm
Input 1
1
New
#Section250342,Main,First/HS/12345/Jack/M,200010 10.00 200011 -2.00, #Section250322,Main,First/HS/12345/Aaron/N,200010 17.00, #Section250399,Main,First/HS/12345/Jimmy/N,200010 12.00, #Section251234,Main,First/HS/12345/Jack/M,200011 11.00
Extraction