Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Dec 11, 2008

Recent Blog Comments By Marieke

  • Ask Ben: Javascript String Replace Method

    Posted on Oct 4, 2006 at 8:59 AM

    try this , for replacing more than one charachter <script> test="kuut"; test = test.replace(/u/g, 'a' ); alert(test); </script> or for \n: var test = text.replace(/\n/g, '<br>');... read more »