-Begins with (http:// or https://) or (www.) or both.
-Then any number of the following characters: a-z 0-9 - _ .
-Then a top-level domain (.com,.net,.org,etc) I'll add common ones manually.
-Then any number of the following characters: a-z 0-9 - _ / + % ? & =. (may be missing a few here)
Here's the regex I've come up with:
http://www.google.com http:// .com
I assume I'm misunderstanding the (|) syntax somehow. Can someone explain to me what's going on here?
This post has been edited by Ntwiles: 20 February 2014 - 02:12 PM