Pattern: Url
Description for pattern 1
ttheIntuitionist3/26/2025
Patterns
Regular Expressions
^(http|https)://[a-zA-Z0-9-.]+.[a-zA-Z]{2,3}(/.*)?$
ttheIntuitionist3/28/2025
^(http|https)://[a-zA-Z0-9-.]+.[a-zA-Z]{2,3}(/S*)?$
ttheIntuitionist3/26/2025
Matching Strings
Matches? | Text | Description | Author |
---|---|---|---|
https://example.com | Basic HTTPS URL | ttheIntuitionist | |
http://subdomain.example.com | URL with subdomain | ttheIntuitionist | |
https://example-site.com | URL with hyphen | ttheIntuitionist |
Non-matching Strings
Matches? | Text | Description | Author |
---|---|---|---|
ftp://example.com | Invalid protocol | ttheIntuitionist | |
https://.com | Missing domain name | ttheIntuitionist | |
https://regexpedia.io/pattern/2 | this pattern only matches root level urls! | ttheIntuitionist |