Check whether text resembles a complete web URL.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The pattern recognizes a scheme, authority, optional port, path, query, and fragment using a practical URI subset. Full-input anchors are used, but DNS resolution and URL safety checks are not.
https
URL Regex (https): ^https:\/\/[^\s/$.?#].[^\s]*$ Matches HTTPS URLs only
Link forms, crawlers, and Markdown linters check web URLs.