Regex · URL · Free
URL regex.
Matches an http or https web address up to the next whitespace. Copy the pattern below, see what it matches, then tweak it for your exact case with the free generator.
The pattern
/https?:\/\/[^\s/$.?#].[^\s]*/g
✓ Matches
https://mindloomhq.com/toolshttp://example.orghttps://a.co/x?y=1✗ Doesn't match
ftp://example.comexample.comjust textNeed a variation? Generate one
Other common patterns
Parsing and pattern-matching are everywhere in AI systems. MindloomHQ teaches you to build them for real — agents, RAG, pipelines — with projects and certificates.
Explore MindloomHQ →