Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Jose Galdamez
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with: Jose Galdamez@josegaldamez )

Kamal

Member since Dec 11, 2008

Recent Blog Comments By Kamal

  • Ask Ben: Javascript String Replace Method

    Posted on Jan 18, 2008 at 9:32 AM

    Very helpful. Thanks for the post. Here is the code which will replaces all double quote into escape sequence. sStrValue = sStrValue.replace( new RegExp('(")', "gi" ), function( $0, $1 ) { if ( $1 == '"' ) { return( '"' ); } });... read more »