I have a regex that does not allow an url to start with http, and foreces it to start with www. Now I would like to add to it so it does not allow any special characters.
Current regex: ^(?!https?)www\..*$
Characters I do not want to allow: !"@#£¤$%&/{([)]=}?+`´*'
I'm using ASP.NET.
I've tried using negated characters for ex: [^%!] to not allow % and !, but can't get it to work, it just checks the first character of the word.