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
/
SONG[\s\S]*(?=^[A-Z][A-Z ]+$)
/
gm
Input 1
New
SONG You are as gold The half-opened flowers For your face is as fair as rain, Yet as rain that lies clear Casts light for a shadow. AT BAIA I should have thought --End example--
Extraction
SONG You are as gold The half-opened flowers For your face is as fair as rain, Yet as rain that lies clear Casts light for a shadow. AT BAIA I should have thought --End example--