Now they will match. Remember, the character class \w means a-zA-Z0-9_, which does not include ., and -./\/[-.\w]+(.txt|.doc|.pdf|.vsd|.xls|.xlt|.dot|.pot|.ppt|.mpp)$/
This assumes that the general logic is correct. Here, we only got the strings to match, in the spirit of the original regex.
In reply to Re: regular expression on filenames with absolute path
by ioannis
in thread regular expression on filenames with absolute path
by ramthen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |