in reply to Re^6: Regex find and replace involving new line
in thread Regex find and replace involving new line

[^\r?\n]*[\r?\n]

What is that part supposed to match?

What you wrote there makes little to no sense in the context of trying to match lines. Please read perlre and perlretut to find out how character classes work. Wildly adding things to character classes usually makes things worse..

Replies are listed 'Best First'.
Re^8: Regex find and replace involving new line
by PRA007 (Initiate) on Dec 15, 2015 at 12:13 UTC
    Thanks for reply. I will learn and get back