Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Jesse Roach and Miguel Olivarez

Gaurab

Member since Aug 6, 2010

Recent Blog Comments By Gaurab

  • Ask Ben: Javascript Replace And Multiple Lines / Line Breaks

    Posted on Aug 9, 2010 at 2:02 AM

    Let me make clear... I have got a plane text in the format like ------------------------------------------- text text text text text texttext text text text text text text2 text2 text2 text2 text2 text2 You can see there is a line break in between the two paragraph so i want the text in the two pa... read more »

  • Ask Ben: Javascript Replace And Multiple Lines / Line Breaks

    Posted on Aug 6, 2010 at 1:15 AM

    How can i replace only soft line break with space and maintain the hard line break in a text using regex. I tried replace(/(\r\n){2,}/g,'\n') and later replace(/\n/g,' ') but without success.... read more »