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
/
all
/
gm
Input 1
1
New
A regex with the character pattern "all", will match each occurrences of the letter a followed by two l letters in a text. This means it will find matches for all, hallway, ballon and fall. The two l:s, needs to come after the letter a, so it will not match dollar or pillar. The regex also expects two l:s, one isn't enough. It will not find any match in words like falcon or although. If the text contains other characters in betwen the a and the two l:s, it won't consider it as a match. This means it won't find a match in the name Al Leaong or if we misspell all life as al life.
Substitution