Suppose I have some files
\\foo\bar\12345.xml
\\foo\bar\23456.xml
\\foo\bar\12hellothere.xml
\\foo\bar\34youpeople.xml
The first two are characterised by only having numbers in the file name (not including the extension). The last two do not consist entirely of numbers.
The directory names can contain whitespace and numbers.
Does anyone have a regular expression which matches the last two files, and not the first two?
I'm implementing this in Java if that is at all relevant.
Essentially I think it boils down to not .*\\\d+.xml
but I don't know how to specify the not.