View Full Version : JavaScript Regular expression

08-08-2010, 11:02 AM
Given an input string, I would like to get the output from this in the specified format: filename;path.

For the input string:


I expect this output string:


The filename is listed at the end of the whole string, and its path is supposed to be stripped using the characters after each numeric value (eg. /1/VOBSWeb/ and then /4/VobsWebUI and then /2/vaultWeb)

08-09-2010, 08:38 AM
That's nice... I'd like that too...
What code do you have so far?