Hi there!
For my users I need to present a screen where they can input multiple domain names in a textarea. The users can put the domain names on different lines, or separate them by spaces or commas (maybe even semicolons - I dont know!)
I need to parse and identify the individual domain names with extension (which will be .com, anything else can be ignored).
User input can be as:
asdf.com
qwer.com
AND/OR
wqer.com, gwew.com
AND/OR
ertert.com gdfgdf.com
No one will input a 3 level domain like www.abczone.com, but if they do I'm only interested in extracting the abczone.com part. (I can have a separate regex to verify/extract that from each).