Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Internet
#url
#internet
#link
#http

URL (HTTP/HTTPS)

Validates HTTP and HTTPS URLs including subdomains, paths, query strings, and anchors.

Link validationCMS content sanitizationAPI endpoint validation
/
/
Test String
3 matches
hh'h' — literal character
tt't' — literal character
tt't' — literal character
pp'p' — literal character
s?s's' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
::':' — literal character
\/\/\/ — escaped character '/'
\/\/\/ — escaped character '/'
(…)?Group #1Capturing group — captures matched text for reuse or extraction — repeated zero or one time (optional) · ? — zero or one time (optional)
ww'w' — literal character
ww'w' — literal character
ww'w' — literal character
\.\.\. — escaped character '.'
[…]{1,256}Character class […]Matches any single character listed in this set — repeated between 1 and 256 times · {1,256} — between 1 and 256 times
--'-' — literal character
a-za-za-z — range from 'a' to 'z'
A-ZA-ZA-Z — range from 'A' to 'Z'
0-90-90-9 — range from '0' to '9'
@@'@' — literal character
::':' — literal character
%%'%' — literal character
..'.' — literal character
__'_' — literal character
++'+' — literal character
~~'~' — literal character
##'#' — literal character
=='=' — literal character
\.\.\. — escaped character '.'
[…]{1,6}Character class […]Matches any single character listed in this set — repeated between 1 and 6 times · {1,6} — between 1 and 6 times
a-za-za-z — range from 'a' to 'z'
A-ZA-ZA-Z — range from 'A' to 'Z'
0-90-90-9 — range from '0' to '9'
(('(' — literal character
))')' — literal character
\bboundary\b — word boundary (zero-width)
(…)Group #2Capturing group — captures matched text for reuse or extraction
[…]*Character class […]Matches any single character listed in this set — repeated zero or more times (greedy) · * — zero or more times (greedy)
Pattern: 99 charsInput: 73 chars
100% client-side · private

Valid Examples

  • https://example.com
  • http://sub.domain.co/path?q=1#anchor
  • https://regex.to

Invalid Examples

  • ftp://example.com
  • not-a-url
  • //missing-protocol.com