JavaScript रेगुलर एक्सप्रेशन को लाइव टेस्ट करें, मैच हाइलाइट किए गए और कैप्चर ग्रुप सूचीबद्ध।
Regex Tester का उपयोग कैसे करें
अपना regex पैटर्न दर्ज करें।
फ्लैग चुनें जैसे g, i, m।
टेस्ट टेक्स्ट पेस्ट करें और मैच हाइलाइट होते देखें।
The regex tester lets you build and debug regular expressions against your own sample text, with matches highlighted live as you type. It is useful for validating input formats, extracting fields from logs, or testing a pattern before pasting it into code.
Everything runs in your browser, so your patterns and test text are never uploaded.
It uses the JavaScript regular-expression engine, the same one in every browser and in Node.js, so a pattern that works here works in your JavaScript and TypeScript code.
Toggle the global, case-insensitive, multiline and other flags to change how a pattern matches. You see every match along with its capture groups, so you can confirm exactly what each part of the pattern is pulling out.
Other languages such as PCRE, Python and Go share most syntax but differ in some features, so a few advanced constructs may behave differently outside JavaScript. If a pattern works here but not in another language, an engine-specific construct is usually the reason.
अक्सर पूछे जाने वाले सवाल
सामान्य JavaScript फ्लैग: g (ग्लोबल), i (केस-असंवेदनशील), m (मल्टीलाइन), s (dotAll) और u (यूनिकोड)।
पैटर्न में प्रत्येक () ग्रुप के लिए, मेल खाने वाले टेक्स्ट को अलग से सूचीबद्ध किया जाता है। नामित ग्रुप (?<name>...) भी समर्थित हैं।
नहीं। मिलान पूरी तरह आपके ब्राउज़र में JavaScript द्वारा किया जाता है।
इस टूल को एम्बेड करें
इस टूल को अपनी वेबसाइट में जोड़ें। नीचे दिया स्निपेट कॉपी करें; यह अपने आप अपडेट रहता है।
<iframe src="https://monu.tools/embed/hi/regex-tester" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>संबंधित टूल
Cron एक्सप्रेशन विज़ुअली बनाएं और सत्यापित करें, अगली रन समय के साथ सादे भाषा में व्याख्या।
अमान्य इनपुट के लिए स्पष्ट त्रुटि संदेशों के साथ JSON को ऑनलाइन फ़ॉर्मेट करें, सुंदर बनाएं और वैलिडेट करें.
टेक्स्ट को Base64 में एनकोड करें या Base64 को वापस टेक्स्ट में डिकोड करें. स्वचालित दिशा पहचान के साथ UTF-8 सुरक्षित.
एक साथ 5 यादृच्छिक RFC 4122 संस्करण 4 UUID जनरेट करें. इनपुट को अनदेखा किया जाता है; नए बैच के लिए फिर से चलाएं.