Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\$ (?=[^$]{3,100}\$) (?<PH>[A-Za-z0-9:_-]{1,20}) (?: (?<C1>\/) (?<RX>(?:[^\\\/\r\n]|\\\/?)*) \/ (?: (?<R>(?:[^\\\/\r\n$]|\\[\/$]?)*) \/ | (?<G>\d*) ) | (?: (?<C2>\() (?<F>(?:[^\t\r\n\f()]|\\[()]?)*) \) )? ) \$
/
gmix
Unit Tests
There are no unit tests, click
here
to add some.