in reply to Removing line from a string

Remove everything up to the first newline:
$records =~ s/^ # beginning of the string .* # whatever except newline \n # newline //x;
Update: Simplified.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ