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
/
(?<=[?!#])[^;]*(?=;)
/
gm
Input 1
1
New
#first line of text; #second line of text; #third line could easy be on a new line; #forth etc; #this could (#hi,#hi,#hi) also happen though:)); #so.... any idea;
Substitution