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 CFinNC 2009 (Raleigh, North Carolina) with:

Kaman

Member since Aug 10, 2010

Recent Blog Comments By Kaman

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

    Posted on Aug 10, 2010 at 4:22 PM

    Hi Ben, I want to convert two or more line breaks into one line break. Is there any reqular expression? this one is not working strMultiLineText1.replace(new RegExp("[\n\n]", "g" ), "\\n); Given Text ------------ Line 1 <linebreak1> <linebreak2> Line 2 <linebreak1> <linebreak... read more »