Hi,

I am trying to format a multi-line text field in a report to remove blank lines. After a bit of reading I have come up with the following regular expressions but the editor won't accept them and it throws a syntax error. Am I even close!?

$F{followups}.replace("/^\s*\n/gm", "")
or
$F{followups}.replace(/(\r\n|\n|\r)/gm,"")