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
/
(?<=score=")[^"](?=.0*")
/
g
Input 1
1
New
"a") I need '2' get the first integer in <comp score="1.0">, but not "14". More specificaly, the 1 in "1.0" without the quotes. But how to get only here too? <comp score="9.0">? Or how to get the third <comp score="9.0">
Substitution