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
/
.* <(Begin|End)_Date[Tt]ime> .*RC (\d)
/
gm
Input 1
1
New
something something <Begin_DateTime> and then tehre is RC 0 something someting <End_Datetime> and then there is RC 1 something something <Begin_DateTime> and then tehre is RC 1 something someting <End_Datetime> and then there is RC 0
Substitution
something something <Begin_DateTime> and then tehre is RC 0 something someting <End_Datetime> and then there is RC 1 something something <Begin_DateTime> and then tehre is RC 1 something someting <End_Datetime> and then there is RC 0