I am working on MVC Razor. I face an issue to validate URL validation. I need to do URL validation before inserting in temp DB. I got a reference of http://www.regxlib.com/Search.aspx?k=&c=2&m=-1&ps=20 and found one nice validation pattern, (http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])? While i work in MVC view, it gives me error so i have change it to (http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@@?^=%&:/~\+#]*[\w\-\@@?^=%&/~\+#])? i.e. @@ instead of @ when it runs and if i see the console, i got the original one, so i think it is okay for me to do @@ instead of @ But in console i got an error can anyone tell me what is wrong with this, so got the error, "invalid range in character class"
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update