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
CSS Selector
Open Workspace
PCRE (Legacy)
Match
Created 2016-07-07 23:04
1
Regular Expression
/
(?=
(?:
[
A
-
Za
-
z
\.
#
\*
]
)
)(
(?<=
(?:
[
\s
]
)
|
(?<=
^
)
)
)
[
a
-
z-
\[\]
:{1,2}#
\.\*
]
+
(
\s
+
)?
{
/
gm
Description
No description provided.
Submitted by
Hans Otto Wirtz