You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Javascrip ReplaceAll function

Summary:


Content (required):

Hello everyone, is it possible to replace newlines or ENTER using some javascript function? I've tried the replace() function, but it only replaces the first match. Is there a way to replace all matching newlines or enters?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!