Yes. See the x modifier in perlre.
Cheers,
JohnGG
In reply to Re: Multiline regex by johngg in thread Multiline regex by harangzsolt33