Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\[Containments\]\[(\d+)\](?:.*\n)+?activityId=[a-f0-9-]+
/
gm
Input 1
1
New
[Containments][2] activityId= [Containments][23] activityId=cf1e94e6-6875-42b4-89c4-68a7c691dd70