پرش به محتوای اصلی

تست عبارات منظم با برجسته‌سازی تطابق

پاسخ سریع

Regex Tester: Test regular expressions with match highlighting. Regex Tester uses standard developer formulas to compute accurate results instantly.

پیش‌فرض پرکاربرد:

عبارت منظم

//g
g=سراسری i=نادیده گرفتن حروف بزرگ و کوچک m=چند خطی s=نقطه با خط جدید مطابقت دارد

متن تست

تعداد تطبیق2
اولین موقعیت5
علامتg
موتورJavaScript

نتیجه برجسته

main 13812345678, backup 19987654321

جزئیات تطبیق

#محتوای تطبیقموقعیتگروه‌بندی
1138123456785—
21998765432125—

جستجوی سریع گرامر

نمادمعنی
\d \w \sdigit / word / whitespace
.any char except newline
* + ?0+ / 1+ / 0 or 1 times
{n,m}repeat n to m times
[abc] [^abc]set / negated set
^ $ \bstart / end / word boundary
( ) (?: )capture / non-capture group
a|balternation (or)

💡 مراقب کمیت‌سنج‌های تو در تو (مثلاً (a+)+) باشید که باعث بازگشت فاجعه‌آمیز می‌شوند، ورودی مخرب ممکن است صفحه را مسدود کند. سعی کنید عبارات قطعی و با مرز واضح بنویسید.

آیا این ابزار برای شما مفید بود؟

نحوه استفاده

  1. Paste or type content: drop code/text into the Regex Tester or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

نکات کلیدی

  • Regex Tester is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Test regular expressions with match highlighting.
  • Results come with formulas and reference tables so you can verify every number.

اصول و فرمول‌ها

Regex Tester formula

Regex Tester uses standard developer formulas to compute accurate results instantly.

سوالات متداول

How do I use the Regex Tester?
Open the page and fill in the input fields — results update automatically. Test regular expressions with match highlighting.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

ابزارهای مرتبط

مشاهده تمام 55 ابزار این دسته‌بندی →

راهنماهای مرتبط

منبع و به‌روزرسانی‌ها

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

آخرین به‌روزرسانی:

فرمول‌ها و محتوای این صفحه توسط تیم YiJianSuan بازبینی شده است و صرفاً برای مرجع آموزشی است. برای امور عملیاتی، به اطلاعات رسمی مرجع مراجعه کنید.

محتوا توسط تیم تحریریه YiJianSuan نگهداری و به صورت دوره‌ای بازبینی می‌شود — فرآیند به‌روزرسانی و بازبینی درسیاست تحریریه.

استناد به این صفحه: YiJianSuan. تستر Regex[EB/OL]. https://www.yijiansuan.com/fa/c/dev/regex

نتایج ارائه شده توسط این ابزار صرفاً برای مرجع است و هیچ‌گونه توصیه حرفه‌ای محسوب نمی‌شود. برای محاسبات نهایی، به نتایج رسمی مرجع مراجعه کنید.