tools.junyo.dev

url regex

URL regex

The idea here is to validate URLs in a practical and visual way without opening the full builder library.

Scope of this regex

  • The pattern focuses on HTTP/HTTPS URLs for quick visual validation.
  • As with email, the intent is pragmatic: good coverage without becoming an unreadable monster.

URL examples

Simple HTTPS

Input
https://junyo.dev
Expected output
match

Most common case.

FTP out of scope

Input
ftp://legacy.example
Expected output
sem match

Shows the preset is focused on web URLs.

Full tool FAQ

Yes. The idea is to let you build the expression, apply flags and inspect matches in real time, which is especially useful for debugging, learning and fine-tuning patterns.

Frequently asked questions

Does this regex cover every possible URL?

No. It covers the most common HTTP/HTTPS web scenarios well.

Can I use other flags?

Yes. The flags field remains available for testing.