Wednesday, 6 July 2016

regex - What is the best regular expression to check if a string is a valid URL?

How can I check if a given string is a valid URL address?



My knowledge of regular expressions is basic and doesn't allow me to choose from the hundreds of regular expressions I've already seen on the web.

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...