Asked many times, but I can’t get it to work…
I have strings like:
"text!../tmp/widgets/tmp_widget_header.html"
and am trying like this to extract widget_header:
var temps[i] = "text!../tmp/widgets/tmp_widget_header.html";
var thisString = temps[i].regexp(/.*tmp_$.*\.*/) )
but that does not work.
Can someone tell me what I’m doing wrong here?
Thanks!
This will match:
/charactertmp_.character. These are captured..characterIf a match was found, it will be at index
1of the resulting Array.