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
@"
(?<=^፻.+)\b(?=\w.*፻$)
"
gm
Input 1
1
New
፻this test works፻ ፻this test does not work፻ this is a line that stays unchanged this is a line that stays unchanged፻ ፻this is a line that stays unchanged
Extraction
፻this test works፻ ፻this test does not work፻ this is a line that stays unchanged this is a line that stays unchanged፻ ፻this is a line that stays unchanged