I have this Regex
^(?!.*\b(?:https?:\/\/|www\.))\w+(?:\.\w+)*\.\w{2,}(?:,\w+(?:\.\w+)*\.\w{2,})+$
that captures multiple URL separated by commas
caputres google.com,facebook.com but not with extra characters like google.com/home.php?,facebook.com/pages/#ref=?