Pure Javascript

Pure Javascript


remove line breaks:

following seems to do the trick:

var wn_formatted =  work_notes.replace(/\r?\n|\r/g, ';'); //replaces carriage return with ;


  1. Great Article Cloud Computing Projects

    Networking Projects

    Final Year Projects for CSE

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. This article content is really unique and amazing. This article really helpful and explained very well. So i am really thankful to you for sharing keep it up.

    Learn Ms Office Training Course with Placement Support
    Complete C, C++ Training Course in Delhi with Placement


Post a Comment

Popular posts from this blog

GlideRecord setValue

URL link in addInfoMessage