How to test or generate a regex
-
1
Generate or type a pattern
Describe what to match (e.g. BD phone, email, Bangla text) or type a custom regex.
-
2
Set flags
Adjust JavaScript regex flags like g, i, m, u or s.
-
3
Inspect matches live
Highlighted matches and capture groups update on every keystroke.
-
4
Preview replacements
Type a replacement string using $1, $2 to test substitutions.
Frequently asked questions
Can I match Bangla Unicode words with regex? +
Yes. Click the "Bangla Text" preset or use [\u0980-\u09FF]+ with the gu flags.
Related tools
Image to SVG Vectorizer
Trace PNG or JPG logos, icons and sketches into clean scalable SVG vector paths inside your browser.
Code Formatter, Minifier & Explainer
Format, minify and inspect JavaScript, JSON, HTML, CSS and SQL code locally in your browser.
JSON / CSV Formatter & Converter
Validate, pretty-print, minify, sort keys and convert between JSON and CSV with live table preview.
QR Code Generator & Scanner
Create custom PNG/SVG QR codes for URLs, Wi-Fi, phone & text, or scan QR codes from images and webcam.
Color Palette Extractor & Eyedropper
Extract dominant color palettes from any image and click any pixel to copy exact HEX/RGB codes.
Base64 Encoder & Decoder (Text & Image)
Encode and decode UTF-8 text (including Bangla), URL-safe Base64 and image/file Data URIs locally.