I apologize if this is not the correct forum. Have truly looked elsewhere to no avail. Hope you can help!
I need to use regex to validate "email addresses" and "usernames".
The "email address" format we use is: "some characters/numbers" followed by "." followed by "some more characters/numbers" followed by "@" followed by "webbong.com". The "characters/numbers" portions must allow for "_" and "-" and the "webbong.com" is mandatory; no other domains will be allowed.
The "usernames" format we use is a single word that could contain "characters/numbers", "_" and "-".
I've tried to work this out to no avail and feel that I have looked at the issue for so long that I am missing the obvious. I will appreciate any guidance that any of the members provides. Thanks!!!