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
/
^(?:Public )?Footpath(?: No\.)?(?: #?[0-9]+)?$
/
gm
Input 1
1
New
Footpath Public Footpath Footpath No. 27001 Public Footpath No. 125 Footpath #424 Public Footpath #5
Extraction
Footpath Public Footpath Footpath No. 27001 Public Footpath No. 125 Footpath #424 Public Footpath #5