Skip to content

Regex ജനറേറ്ററും വിശദീകരണവും

ഉദാഹരണ സ്ട്രിംഗുകളിൽ നിന്ന് റെഗുലർ എക്സ്പ്രഷൻ ഉണ്ടാക്കുക, ഏത് regex-ഉം ഭാഗം ഭാഗമായി ലളിതമായി വിശദീകരിക്കുക. നിയമാധിഷ്ഠിതം, ബ്രൗസറിൽ.

അപ്‌ലോഡ് ഇല്ല
  • ✓ Generalised from your examples · matches 3/3, rejects 2/2

    ^\d{4}-\d{2}-\d{2}$
  • ✓ ISO date (YYYY-MM-DD) · matches 3/3, rejects 2/2

    ^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$
  • ✓ Exact alternatives · matches 3/3, rejects 2/2

    ^(?:2024-01-15|1999-12-31|2026-10-14)$

Regex ജനറേറ്ററും വിശദീകരണവും എങ്ങനെ ഉപയോഗിക്കാം

  1. 1Regex ജനറേറ്ററും വിശദീകരണവും തുറക്കുക. ഇത് നിങ്ങളുടെ ബ്രൗസറിൽ പ്രവർത്തിക്കുന്നു, സൈൻ-അപ്പ് വേണ്ട.
  2. 2നിങ്ങളുടെ ഇൻപുട്ട് ടൈപ്പ് ചെയ്യുക അല്ലെങ്കിൽ പേസ്റ്റ് ചെയ്യുക.
  3. 3ഫലം കോപ്പി ചെയ്യുക അല്ലെങ്കിൽ ഡൗൺലോഡ് ചെയ്യുക.

ചോദ്യങ്ങൾ

How is the regex generated?

Your examples are split into runs of digits, letters and punctuation. If they share a structure, those runs become character classes with lengths; common formats like emails, dates and UUIDs are also checked against your examples.

Is AI involved?

No. It is rule-based and runs entirely in your browser.

Which regex flavour?

JavaScript (ECMAScript). Most patterns also work in PCRE, Python and Go.

കൂടുതൽ ടൂളുകൾ