I am hoping to use the Uri object to reject the following XSS exposure.
for example, a return URL which includes the following puts your website at risk:
So, I hope I can use the System.Uri object to throw an exception. This means I do not get into modifying my RegEx.
I would be surprised to learn that the following is not a reg flag: