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
`
^(?=.+\.\d+\.)[^.\n\r]+(?:\.[^.\n\r]+)+$
`
gm
Input 1
1
aha.comment.1.app aha.comment1.app a.1.b.c.d.2.a a.2.b.c2.a.1.