I'm using the following regex to validate URLs from Javascript. However, I need to be able to accept urls like "google.com" without a prefix.
The regex I'm using is:^[A-Za-z]+://[A-Za-z0-9-_]+\\.[A-Za-z0-9-_%&\?\/.=]+$
I know this is kind of a "send me the codez" post and I apoligize in advance.