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
/
^(.*?@focus)$
/
gm
Input 1
1
line 1 line 2 and some text end with @focus line3 line4 line5 end with @focus line6
Substitution
line 1 line 2 and some text end with @focus line3 line4 line5 end with @focus line6