Hi all,
I'm trying to use QRegExp to validate a windows file path and I tried a lot of different regular expressions and I cant get it to work, this expression works in a lot of test tools but not in qt:
QRegExp uri("([a-z A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})");
Does someone has a working regexp or can you see whats the problem with the above.
Thanks for your help
/Nick
Bookmarks