This is far from pretty but it's much closer to what I need:^/iw-mount/default/main/IT%20Practice/CIO/[^/]+/CIO/MFWEB/CIO/([^\.]+)\.(([^a]?)([^s]?)([^p]?)([^x]?)*)$This expression matches anything other than an aspx file extension, which is good, but it also doesn't match when the file extension has characters after "aspx" and it doesn't match permutations of "aspx".In a real-life scenario, this is probably fine but could someone advise if there's something more strict than this?Dave
Thank you, that is much better! So good in fact, I don't see any problems with it at all so maybe that's as strict as it can be. I know that regexes rarely win beauty contests but I was hoping (and researching and found quite a lot of bad information) that there was an operator that would have said something like "NOT this group of characters, in sequence" but no luck.Thanks again,Dave