Skip to content
UtiliveDeveloper utilities
  • All tools
    • JSON
    • JSON Schema Validator
    • JSONPath Runner
    • JSON <> YAML
    • JSON Escape / Unescape
    • JSON Diff
    • CSV <> JSON
    • CSV Toolkit
    • Text Diff
    • String Tools
    • Text Counter
    • Escape / Unescape
    • Slug Generator
    • Lorem Ipsum
    • List Comparer
    • List Delimiter
    • List → Array
    • List → JSON Array
    • Delimiter & Formatter
    • Code Formatter
    • HTML Formatter / Minifier
    • SQL Formatter
    • Markdown Preview
    • Markdown Exporter
    • UUID
    • UUID Inspector
    • cUID Generator
    • Random String
    • Password Generator
    • Secret Key
    • User-Agent
    • Base64 Text
    • Base64 Image
    • URL Encoder / Decoder
    • Hash (MD5/SHA*)
    • JWT Debugger
    • HMAC & AES
    • Bcrypt
    • Number Base Converter
    • Unit Converter
    • Date/Time Toolkit
    • Timestamp Converter
    • Color Tools
    • QR Code
    • Cron Parser
    • Regex Tester
    • Regex Library
    • WHOIS Lookup
    • DNS Lookup
    • Image Tools
    • Support
© Utilive.dev
AboutPrivacySupport

Regex tester

Test JavaScript regular expressions with live match highlighting.

Examples

Flag reference
  • gGlobal — find all matches
  • iCase insensitive
  • mMultiline — ^ and $ match line breaks
  • sDot matches newlines
  • uFull Unicode
  • ySticky — match at lastIndex only

Test text

0 matches

Matches

Matches will appear here.

About regex testing

A regular expression is a compact pattern for searching and replacing text. Patterns and test strings stay in your browser; nothing is sent anywhere.

  • Use \b for word boundaries.
  • Add the g flag to capture every match.
  • Combine i and u for accent-insensitive search.
  • Escape special chars: . * + ? ( ) [ ] { } | \.