regviz

regex playground · live highlight · capture groups · explain · replace preview

pattern
/ /
g global i case m multiline s dotall u unicode
test text
highlighted


matches
replace with ($1, $2 = groups)
after replace


explanation

← z5