Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Ben Koshy and Ben Arledge
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Ben Koshy ( @animexcom ) and Ben Arledge@BenArledge )

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 »