Utilities Web

Regex Tester

Real-time regex testing and matching

How to Use

  1. Enter a regular expression pattern in the pattern input field
  2. Enter a test string in the input field
  3. Match results are highlighted in real time
  4. Switch flags (g, i, m, s, u) as needed
  5. When replacement mode is enabled, you can also see the conversion result using the replacement pattern

Use Cases

  • When prototyping and validating validation patterns for form input
  • When creating regular expressions to extract specific patterns from log files
  • When pre-checking bulk replacement patterns for text
  • When visually checking the behavior of capture groups in regular expressions

Frequently Asked Questions

Which regular expression engine (flavor) is supported? ▼

We use the JavaScript regular expression engine. It complies with the ECMAScript specification and supports the latest features such as named capture groups and Unicode property escapes.

How do I distinguish between flags (g, i, m, etc.)? ▼

g (global) searches for all matches, i (ignore case) does not distinguish between uppercase and lowercase. m (multiline) matches ^ and $ at the beginning and end of each line, s (dotAll) matches . to newlines as well.

Are there performance issues with complex regular expressions? ▼

Patterns such as extremely nested quantifiers (e.g., (a+)+) may cause the browser to become unresponsive temporarily, but normal regular expressions are not a problem.

Related Tools

JSON Formatter & Validator

Format, minify, and validate JSON

JSON to Spreadsheet Conversion

Convert JSON data to an Excel-style grid, select cell ranges and copy

Base64 Encode/Decode

Base64 conversion of text and files

URL Encode/Decode

URL encoding conversion

Text Diff Viewer

Compare and display text differences

Base Converter

Convert numbers between any bases such as binary, octal, decimal, and hexadecimal

Bit Operation Simulator

Visually simulate bitwise operations

SLA Uptime Calculator

Calculate downtime from SLA uptime

IP Address/Subnet Calculator

Calculate IPv4/IPv6 subnets, network addresses, and host ranges

Cron Timeline

Visualize crontab execution schedules as timeline, calendar, and Gantt chart

Bloom Filter Simulator

Visually simulate Bloom filter behavior and calculate optimal parameters

systemd Timer Generator

Interactively generate systemd .timer / .service unit files via GUI

UART Baud Rate Calculator

Calculate divisor ratio, error, and register values from clock frequency and target baud rate

PWM/Timer Configuration Calculator

Calculate and reverse-calculate PWM frequency, duty, resolution, and register settings (PSC/ARR/CCR) from clock and prescaler/counter values

Timer Interrupt Period / Clock Divider Calculator

Calculate interrupt period and frequency from clock, prescaler, and count value. Reverse-calculate optimal PSC/ARR from target period

ADC Resolution, LSB, and Voltage Calculator

Calculate LSB voltage, quantization error, dynamic range, code↔voltage conversion, ENOB, and oversampling from resolution and reference voltage