Indicate that I have a list of valid domain roots,
For example, maybe my URL is She has to explicitly say: How do I use a regex to verify that my url something like that? To allow for such things ... subdomain * Example.com, subdomain.example.com, example.com, * .example.com, etc. L example.com P> How can I validate to use a regex that my variable url is in the list, including subdomain? "subdomain.case.example.com" *. Example.com or *. Test.com or example.com or test.com ?
^ ((\ * | [\ w \ d] + (- [\ w \ d] +) *)).) * (Example | Exam) (\ .com) $
No comments:
Post a Comment