Regex Tester
Test a regular expression against your text and see every match as you type.
Об инструменте «Regex Tester»
Type a pattern, pick the flags and paste the text you want to run it against. Matches are highlighted in the text itself and listed with their position and capture groups, so you can see exactly what the pattern caught and what it missed. Everything updates as you type, in your browser.
Этот инструмент работает в вашем браузере, поэтому ваши файлы не покидают устройство.
Как пользоваться: Regex Tester
- Type your regular expression.
- Choose the flags you need.
- Paste the text and read the matches.
Вопросы
Which flavour of regex is this?
JavaScript regular expressions, the same ones the browser itself uses. Patterns written for PCRE mostly work, but lookbehind and named groups depend on the browser.
Why does my pattern match nothing?
Check the flags first. Without the g flag only the first match is found, and without i the match is case sensitive.
Is my text sent anywhere?
No. The pattern runs in your browser and nothing leaves the page.
Похожие инструменты
- JWT Decoder – Read what is inside a JSON Web Token: header, payload and when it expires.
- SQL Formatter – Turn a one-line query into readable SQL, with the keywords lined up.
- Epoch Converter – Convert a Unix timestamp to a date and back, in your time, IST and UTC.
- Colour Contrast Checker – Check whether a text and background pair passes WCAG contrast rules.
- Lorem Ipsum Generator – Make placeholder text by paragraphs, sentences or words.
- Форматирование и проверка JSON – Форматируйте, сжимайте и проверяйте JSON. Показывает точную строку и столбец ошибки.
- Счётчик слов и символов – Считайте слова, символы, предложения и абзацы, а также время чтения и частые слова.
- Смена регистра текста – Превращайте текст в ВЕРХНИЙ РЕГИСТР, нижний регистр, Заголовок, Как в предложении, camelCase, snake_case и другие.