Skip to main content

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel