श्रेणी: डेवलपर टूल

JavaScript Regex Tester

हमारा अपना विचारकोई टूल नहीं मिला?

match text, zero-based index, capture groups और String.replace preview

अपने sample text पर JavaScript RegExp test करें: g, i, m, s, u और y toggle करें, indexes और capture groups के साथ matches पढ़ें, और replacement preview देखें। सब local है।

फ़्लैग /g
3 मिलान
  1. ada@example.comस्थान 0
    $1 ada$2 example.com
  2. grace@example.orgस्थान 25
    $1 grace$2 example.org
  3. support@localtools.devस्थान 50
    $1 support$2 localtools.dev
बदलाव पूर्वावलोकन
ada [at] example.com wrote to grace [at] example.org and to support [at] localtools.dev

इस पेज पर सब कुछ आपके ब्राउज़र में संसाधित होता है। कुछ भी अपलोड नहीं होता।

यह टूल क्या करता है

यह tester browser के JavaScript RegExp engine पर चलता है। pattern को wrapping slashes के बिना लिखें, g, i, m, s, u और y flags toggle करें, और test string paste करें। हर match में matched text, zero-based index और numbered/named capture groups दिखते हैं; replacement template String.replace preview देता है। syntax error compile fail होने पर दिखता है, और match list 500 पर रुकती है। PCRE, Python, RE2 और .NET emulate नहीं होते। step debugger, railroad diagram, performance timing, ReDoS audit, file upload, corpus batch, remote URL, pattern writing या prose explanation नहीं हैं। pattern, text और replacement output browser में रहते हैं और LocalTools पर upload नहीं होते।

इस्तेमाल कैसे करें

  1. pattern को wrapping slashes के बिना लिखें और g, i, m, s, u, y flags toggle करें।
  2. test string paste करें और हर match का zero-based index तथा capture groups पढ़ें।
  3. String.replace preview के लिए replacement template जोड़ें; syntax errors दिखते हैं और list 500 matches पर रुकती है।

निजता

यह टूल पूरी तरह आपके ब्राउज़र में चलता है। आपका डेटा कभी अपलोड, सेव या साझा नहीं होता — टैब बंद करते ही वह हट जाता है।

अक्सर पूछे जाने वाले सवाल

यह tool क्या करता है?
अपने sample text पर JavaScript RegExp test करें: g, i, m, s, u और y toggle करें, indexes और capture groups के साथ matches पढ़ें, और replacement preview देखें। सब local है।
कौन से input formats supported हैं?
इस tool में relevant text input दें; file upload और remote URL उपलब्ध नहीं हैं।
मुख्य सीमा क्या है?
NET emulate नहीं होते। step debugger, railroad diagram, performance timing, ReDoS audit, file upload, corpus batch, remote URL, pattern writing या prose explanation नहीं हैं। pattern, text और replacement output browser में रहते हैं और LocalTools पर upload नहीं होते।.
क्या यह local चलता है?
नहीं। input और result browser में process होते हैं और LocalTools को नहीं भेजे जाते।
क्या advanced extra features हैं?
नहीं। scope से बाहर features जैसे upload, full audit या दूसरी conversions जानबूझकर शामिल नहीं हैं।