Created
February 19, 2023 18:34
-
-
Save b-epelbaum/42ff2f73d0d76fda5d869cf1a32e9749 to your computer and use it in GitHub Desktop.
RegEx for URLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| std::regex_match (job_str.toStdString(), std::regex(R"(^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$)" ))) // we have URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment