I need some help with RegExp, for some reason the code bellow isn't working. Can someone please help me?
The code is basically meant to turn
C:\David\eg.png to
eg
code:
var re = new RegExp(".*\\(.*)\\.");
var FileBase = re.exec(MyString)[1];
It's simply just plain not working at all!
Thanks in advance,
David.