Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\B%[a-z0-9]+\b
/
g
Input 1
New
1. %xxxxxxxxxxxxx //match 2. this will work %xxxxxx but not this%xxxxxxxxx. //match 1st, not 2nd 3. and also %xxxxxxxxxx. //match 4. just a line ending with %xxxxxxxxxxx //match 5. %Xxxxxxxxxxx //no match 6. 100% of dogs //no match 7. 65%. Begining of new phrase //no match 8. 65%.Begining of new phrase //no match
Extraction
1. %xxxxxxxxxxxxx //match 2. this will work %xxxxxx but not this%xxxxxxxxx. //match 1st, not 2nd 3. and also %xxxxxxxxxx. //match 4. just a line ending with %xxxxxxxxxxx //match 5. %Xxxxxxxxxxx //no match 6. 100% of dogs //no match 7. 65%. Begining of new phrase //no match 8. 65%.Begining of new phrase //no match