Best Free Regex Tester

Test a regular expression against your text live, with match and group highlighting.

/ /
100% free No signup No watermark
✨ Go Pro for the best AI models - image, video and chat - plus larger uploading, priority in the queue and no waiting. Upgrade to Pro
Love Best.Free? Share

Yadda yake aiki

  1. Enter a pattern. Type your regular expression and any flags (g, i, m, s, u).
  2. Paste test text. Ƙara rubutun da za'a yi amfani da shi; ma'auni na nuna haske yayin da kake rubuta.
  3. Read the matches. Ka duba adadin, ma'aunan da aka nuna, da kuma kowace ƙungiya ta kama.

Game da wannan kayan aiki

Build and check a regular expression against real text and watch the matches highlight as you type. Enter the pattern and flags, paste your test text, and every match is marked inline with the capture groups listed below - so you can see immediately whether the regex does what you intend. It uses your browser’s own JavaScript regex engine, so the behaviour matches what you’ll get in JS, and nothing is sent anywhere. Advanced options explain the flags (global, ignore-case, multiline, dotall, unicode).

Abin da mutane suke amfani da shi ga

  • Check a regex matches what you expect before shipping it
  • Debug a pattern that is not catching the right text
  • Ka duba ƙungiyoyin da aka kama domin magana mai wuya
  • Learn regex by experimenting with instant feedback

Tambayoyi da ake yi da yawa

JavaScript na mai bincike na JavaScript na mai bincike na JavaScript, don haka sakamakon ya haɗu da ECMAScript regex daidai - mai amfani idan kana rubuta regex don JS ko wani aikace-aikacen yanar gizo.

g matches globally, i ignores case, m makes ^ and $ match line ends, s lets . match newlines, and u enables full unicode. Advanced options show this reminder.

Ya, ƙungiyoyin da aka kama da su na kowace daidaitawa an lissafa su a ƙasan rubutun da aka nuna don haka zaka iya ganin abin da aka kama daidai.

No. Everything runs locally in your browser, so nothing you type leaves your device.

Wannan siffar ba ta da ingancin JavaScript regex - ko da yaushe wani kwance ko kuma kwance mai dakatarwa. Manzan kuskure yana nuna abin da injin ya yi watsi da shi.

Ya, wani kayan aiki na ɓangaren mai amfani, badana asusun ba, badana iyakoki ba, badana komai ba.

Yanzu, za ka iya fara amfani da Regex Tester a kan na'urorin hannu da na'urorin kwamfuta da kuma kwamfutoci - ba a da wani shirin a shigar.

Usually just a few seconds for a typical file - Regex Tester starts working the moment you give it your input.

Amfani da shi ba a iyaka shi ba, a karkashin wani tsayi mai kyau na amfani da shi wanda ke kiyaye shi cikin sauri ga kowa.

Duk masu bincike na zamani - Chrome, Safari, Firefox da Edge. Regex Tester ba ya buƙatar shigar da komai a kan mai bincike da kake amfani da shi.

Related tools

Rate this page
★ ★ ★ ★ ★
5.0/5 (0)

What could we improve? Your feedback helps us fix issues.