Skip to content
Esc

↑↓ to move Enter to open/ anywhere to search

مختبر التعابير النمطية

Type a regular expression, choose the flags and paste some text. Matches are highlighted as you type, with their positions and capture groups listed, and you can test a replacement using $1 and $2. It uses the JavaScript regex engine.

يعمل في متصفحك. ملفاتك لا تغادر جهازك أبدًا.

Flags
Matches
2
#MatchالموضعGroups
1[email protected]9$1=aisha $2=example
2[email protected]28$1=ben $2=test

Use $1, $2 for groups.

النتيجة

كيف يعمل

  1. 01Type your pattern and choose the flags.
  2. 02Paste the text to test.
  3. 03Check the highlighted matches and the replacement.

أسئلة

Which regex flavor is used?

The JavaScript (ECMAScript) flavor that your browser uses.

Why does my pattern show an error?

The message from the browser tells you what is wrong, such as an unclosed bracket.

Is my file uploaded to a server?

No. Everything happens inside your browser on your own device. Your files are never sent to us or anyone else.

Is it free?

Yes. It is free to use, with no signup, no watermark and no daily limit.

مزيد من الأدوات