Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?<=\[(\w+\b)[^\][\n]*)([^\s=]+)=['"]([^'"]*)['"](?=[^\][\n]*])
/
g
Input 1
1
New
Hello, My name is Jack, This is my selfie: [img id='4' src="imageurl"] Below is the quick-link to my profile [profile username='jackisbest'] [profile username='jackisbest'] Below is the quick-link to my profile [profile username='jackisbest' Below is the quick-link to my profile [profile username='jackisbest' Below is the quick-link to my profile profile username='jackisbest' Below is the quick-link to my profile profile username='jackisbest']