Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at RIA Unleashed (Nov. 2009) with: Jason Delmore
Ben Nadel at RIA Unleashed (Nov. 2009) with: Jason Delmore

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 »