Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
i18next Resource key
Open Workspace
PCRE2 (PHP)
Match
Created 2022-05-10 04:38
0
Regular Expression
/
^
(?:
[
a
-
z
]
(?:
[
a
-
z0
-
9
]
|
-
(?!
$
|
-
)
)*
\:
?
(?!
$
)
)?(?:
[
a
-
z
]
(?:
[
a
-
z0
-
9
]
|
-
(?!
$
|
-
)
)*(?:
\.
(?!
$
)
)?
)+
$
/
gm
Description
This regex matches
i18next
library resource keys
Submitted by
Anonymous