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
/
([A-Za-z]{1,})\.|(\d{2}-\d{2}-\d{4})
/
gm
Input 1
1
New
First line of text Second line I only need the last word before the dot London. Here i only want the date 11-11-2023. Goodbye
Extraction