Developer Tools

Regex Library

Use the Regex Library online. No account needed.

Try it

Common patterns (10)
  • Email
    /^\S+@\S+\.\S+$/
    Simple email address
  • URL (http/https)
    /^(https?):\/\/\S+$/
    Starts with http:// or https://
  • IPv4
    /^(25[0-5]|2[0-4]\d|1?\d?\d)(\.(25[0-5]|2[0-4]\d|1?\d?\d)){3}$/
  • Hex color
    /^#(?:[0-9a-fA-F]{3}){1,2}$/
  • UUID v4
    /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i
  • ISO date (YYYY-MM-DD)
    /^\d{4}-\d{2}-\d{2}$/
  • Digits only
    /^\d+$/
  • Non-digits
    /^\D+$/
  • Whitespace
    /\s+/
    One or more whitespace chars
  • Trim edges
    /^\s+|\s+$/
    Leading or trailing whitespace
Powered by My Dev Agents

Need more than free tools?

My Dev Agents provides AI agents and streamlined tools to help agency owners, developers, and business operators win more work, plan precisely, and operate with clarity. From job proposals to technical assessments.

What is Regex Library?

Regex Library is a free online utility in the "Developer Tools" category. It helps you work faster with a clean, simple interface.

How to use

  1. Open the tool.
  2. Follow on-screen inputs or paste your content.
  3. Copy or download the result.

FAQs

  • Is Regex Library free? Yes, free to use in your browser.
  • Do I need to sign up? No signup required.
  • Is my data stored? Inputs are processed in-browser when possible.