I have written the following regular expression. It should match only filenames or folder names that don't end in .aspx.
ValidationExpression=".*[^(\.aspx)]$"
But it does not work. So, kings of RegEx land, please help. I would also like to invalidate extensions such as .Aspx, .aSPx etc. ( I quickly learned that there are some differences between how .net and JScript treat regular expressions).
Can anyone help ?