Jump to content
We've recently updated our Privacy Statement, available here ×

Removing blank lines in report fields


linker3000

Recommended Posts

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(/(rn|n|r)/gm,"")

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...