Powered by BrtNeura

Regex Tester

Test regular expressions with real-time matching. Includes Indian PAN, Aadhaar, phone presets.

How to use this tool

Quick start: Click any Preset button (Indian Phone, PAN, Aadhaar, etc.) to load a pattern with sample text instantly.

Custom pattern: Type your regex in the pattern field. Use the flags field to set modifiers (g = global, i = case-insensitive, m = multiline).

Real-time: Matches update live as you type — no need to click a button.

Results: Each match is shown in green with its index position in the test string.

Includes presets for Indian Phone, PAN Card, Aadhaar, Email, GSTIN, and IFSC Code.

//

Enter a pattern and test string, or select a preset to get started.

Need a custom AI solution?

Talk to BrtNeura