I have the following URLs:

www.localhost.com
localhost.com
test.localhost.com

How would I match "www" or nothing in a Regex?

Edit
Report