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
/
<template>.*(?=<\/template>)<\/template>
/
sg
Input 1
1
New
<div id="tabs_[id]" data-as="flex" class="tabs flex-column flex-between-v">[!] <template> <input type="radio" id="tabs_r?_[id]" name="tabs_[id]"> </template> <div class="flex-between-h flex-wrap"> <template> <label class="g1" for="tabs_r?_[id]">[cap?]</label> </template> </div> <div class="g1 s1"> <template> <div id="tabs_?_[id]">[rec?]</div> </template> </div> </div>
Substitution