I think this should work:
/([a-zA-Z0-9\.]+)/
[a-zA-Z0-9\.]+
matches lower and uppercase letters, numbers and dots. The brackets around them create a capture group so that it only returns the part that matches.
I think this should work:
/([a-zA-Z0-9\.]+)/
[a-zA-Z0-9\.]+
matches lower and uppercase letters, numbers and dots. The brackets around them create a capture group so that it only returns the part that matches.