Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the jQuery Conference 2009 (Cambridge, MA) with:

blueprints

Member since Dec 11, 2008

Recent Blog Comments By blueprints

  • Ask Ben: Javascript String Replace Method

    Posted on Sep 12, 2008 at 1:02 PM

    Ben, C:\Program Files\Internet Explorer\iexplore.exe C:\PROGRA~1\INTERN~1\iexplore.exe C:\123456~8\123456~8\iexplore.exe C:\(leave 6 characters alone)(replace the rest of the characters up to the next backslash with "~1")(then the backslash)(repeat the leave 6 characters alone)(replace the rest of ... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Sep 12, 2008 at 12:24 AM

    Ben, It occurs to me I should try for a "Short" path while I am at it. Is there a way to use Javascript String Replace Method to get: C:\PROGRA~1\INTERN~1\iexplore.exe rather than the Windows file path or UNC? C:\Program Files\Internet Explorer\iexplore.exe file:///C|/Program Files/Internet Explo... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Sep 11, 2008 at 11:48 PM

    <html> <head> <title>Path Replace</title> <script type="text/javascript"> <!-- function regexpDemo(monkey,testNum) { switch (testNum) { case 5: monkey.value = monkey.value.replace(/file:\/\/\/C\|/gi,"C:").replace(new RegExp(/\//gi),"\\"); break; case 6: monkey.valu... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Sep 10, 2008 at 12:25 PM

    Hello Ben, How can one write a javascript string replace which changes these examples: Example 1: C:\WINDOWS\system32\cmd.exe to: file:///C|/WINDOWS/system32/cmd.exe Example 2: file:///C|/WINDOWS/system32/cmd.exe to: C:\WINDOWS\system32\cmd.exe Is it possible to use javascript replace method wit... read more »