How do I get a regex for common formats online?
Choose Email, URL, IPv4, or other types on the Regex Generator page. You get JavaScript regex, notes, and examples with one-click copy.
DevTools Regex Generator provides preset JavaScript patterns for Email, URL, IPv4/IPv6, UUID, MAC, dates, and times with notes, samples, and local testing—free with no sign-up.
Pick common types (Email, URL, IPv4/IPv6, UUID, MAC, dates, times) and get a JavaScript regex with notes and sample matches.
/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/Matches common email addresses: local part allows letters, digits, and ._%+-; domain has at least one dot and a 2+ letter TLD. Does not verify deliverability.
2 matches
Form validation, log parsing, and data cleaning often need standard patterns. Pick a type, copy /pattern/flags, and test against sample text on the page.
Choose Email, URL, IPv4, or other types on the Regex Generator page. You get JavaScript regex, notes, and examples with one-click copy.
Output is JavaScript RegExp syntax—same as browsers and Node.js. PCRE-only features (e.g. (?R)) are not included.
Presets target common validation. Internationalized email or URLs with unusual ports may need tweaks—validate with real data or the Regex Debugger.
No. Pattern generation and testing run locally in your browser.
Convert between common formats: CSV/JSON, YAML/JSON, TOML/JSON, Markdown/HTML, timestamps, image Base64, text encodings, and number bases.
Format and beautify SQL, HTML, XML, and YAML, plus a regex debugger—all run locally in the browser, free with no sign-up.
Full JSON toolkit: format, validate, minify, convert to CSV/XML, diff, generate and validate Schema, JSONPath, and tree view—all processed locally in the browser.
Upload a logo, preview browser and Google search results, configure iOS/Android icons, and generate a complete favicon package in one click.