Regex Tesztelő

  • g (global)
  • gi (global, ignore case)
  • m (multiline)
  • gim (global, ignore case, multiline)
Results
—
—

A Regex Tesztelő a választott kapcsolókkal fordít le egy reguláris kifejezést, és jelenti, hány egyezést talál a mintaszövegben, mindegyiket listázva, hogy ellenőrizhesse mintáját.

Képlet
result = text.match(new RegExp(pattern, flags))

Gyakran Ismételt Kérdések

Mit jelentenek a regex kapcsolók?
a g az összes egyezést megtalálja az első helyett, az i figyelmen kívül hagyja a kis- és nagybetűket, az m pedig lehetővé teszi, hogy a ^ és $ sorok elején és végén illeszkedjen.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. Rólunk MateCalc.

Kapcsolódó Kalkulátorok