RegEx: Need to assert that only a specific ReturnURL exists in the browser path.
I have a "white list" an approved domain for use as the ReturnURL. Now I need a RegEx to be sure no errant domains were inserted into the URL.
If my white listed domain is:
Could someone provide me a RegEx which can assert: MyDom.com is not preceded (after goto) or followed with an errant domain?