Skip to main content
SiteIndex
डेवलपरइस्तेमाल के लिए तैयार

टेक्स्ट पर regex पैटर्न जाँचें

उदाहरण टेक्स्ट पर regex पैटर्न जाँचें, मैच और उनकी स्थिति देखें, और named capture groups की समीक्षा करें।

गाइड

इंटरैक्टिव टूल

अकाउंट की ज़रूरत नहीं
रेगुलर एक्सप्रेशन टेस्टर

JavaScript expressions run in a separate worker with a 1-second execution limit. Maximum 2,000 pattern characters, 500,000 text characters, and 1,000 displayed matches. Indices are UTF-16 offsets. An empty pattern matches zero-width positions.

Flags
d indices · g global · i ignore case · m multiline · s dotAll · u unicode · v unicode sets · y sticky (u and v are mutually exclusive)
Pattern library — click to load
Live preview1 match
SiteIndex

Yellow = whole match; blue and green alternate per capture group. Highlighting updates as you type; the buttons run the same check in the worker with the full limits.

Replace (substitution)

<SiteI>ndex

Without the g flag only the first match is replaced, exactly like String.replace in JavaScript.

सभी मिलान और नामित समूह

हर मिलान की स्थिति और पैटर्न में परिभाषित नामित capture groups देखें।

Both actions use the same flags. Find all matches adds g for enumeration; y keeps sticky behavior. Unmatched captures are null in copied JSON.

Pattern explained & cheat sheet

A plain-English breakdown of the current pattern, plus a quick syntax reference.

TokenMeaning
sitethe literal text "site"
[A-Z]one character in this set (ranges like a-z allowed)
+?one or more of the previous item, matching as few as possible (lazy)

Cheat sheet

Character classes\d digit · \w word character · \s whitespace · . any character · [a-z] set or range · [^a-z] negated set
Quantifiers* zero or more · + one or more · ? optional · {n} exactly n · {n,} at least n · {n,m} between n and m · add ? for lazy (shortest) matching
Anchors^ start of text/line · $ end of text/line · \b word boundary · \B non-boundary
Groups(…) capture · (?:…) non-capturing · (?<name>…) named capture · (?=…) lookahead · (?!) negative lookahead · | alternation (or)
रेगुलर एक्सप्रेशन टेस्टर क्या है?

उदाहरण टेक्स्ट पर regex पैटर्न जाँचें, मैच और उनकी स्थिति देखें, और named capture groups की समीक्षा करें।

यह कैसे काम करता है

उदाहरण टेक्स्ट पर regex पैटर्न जाँचें, मैच और उनकी स्थिति देखें, और named capture groups की समीक्षा करें।

आम इस्तेमाल

उदाहरण टेक्स्ट पर regex पैटर्न जाँचें, मैच और उनकी स्थिति देखें, और named capture groups की समीक्षा करें।

सीमाएँ

नतीजे आपके ब्राउज़र, नेटवर्क, इनपुट और बाहरी सेवाओं पर निर्भर कर सकते हैं। यह टूल जानकारी के लिए है और विशेषज्ञ जाँच या पेशेवर सलाह का विकल्प नहीं है।

अक्सर पूछे जाने वाले सवाल
रेगुलर एक्सप्रेशन टेस्टर क्या है?
उदाहरण टेक्स्ट पर regex पैटर्न जाँचें, मैच और उनकी स्थिति देखें, और named capture groups की समीक्षा करें।

मिलते-जुलते टूल

टेक्स्ट तुलना टूल
दो टेक्स्ट ब्लॉक की तुलना करें और संस्करणों के बीच जोड़े गए, हटाए गए और बदले हुए अंश देखें।
URL पार्सर
URL को प्रोटोकॉल, होस्ट, पाथ, query parameters, hash और अन्य उपयोगी हिस्सों में बाँटें।
JSON फ़ॉर्मेटर और वैलिडेटर
JSON की वैधता जाँचें, उसे पढ़ने योग्य फ़ॉर्मेट दें या छोटा करने के लिए minify करें। नतीजे को ब्राउज़र से कॉपी या डाउनलोड करें।
ईमेल एक्सट्रैक्टर
Pasted text से email addresses, phone-like numbers और URLs extract और deduplicate करें, फिर matches को CSV के रूप में locally export करें।
SQL फ़ॉर्मेटर
डेटाबेस क्वेरी पढ़ने में आसान बनाने के लिए SQL कथनों में एकसमान इंडेंटेशन और स्पेसिंग लगाएँ।
UUID वैलिडेटर
UUID की संरचना जाँचें और उसके बिट्स के आधार पर संस्करण तथा वैरिएंट पहचानें।