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
indented lines with continuation
Open Workspace
PCRE (Legacy)
Match
Created 2024-05-04 05:48
1
Regular Expression
/
(?m)
^
(?:
+
|
\t
+
)
\+
*
(?:
VAR
|
CONST
)
*
\w
+
*
=
.
*
(?:
\R^
(?>
+
|
\t
+
)
[^
+
\s
]
.
*
)*
/
g
Description
Example taken from SO,
Submitted by
Anonymous