(([a-z0-9]+[\-_])*[a-z0-9]+\.)*([a-z0-9]+[\-_])*[a-z0-9]+
https://www.regexplanet.com/share/index.html?share=yyyyfcant4r