Ελεγκτής Κανονικών Εκφράσεων

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

Ο Ελεγκτής Κανονικών Εκφράσεων μεταγλωττίζει μια κανονική έκφραση με τις σημαίες που επιλέξατε και αναφέρει πόσες αντιστοιχίες βρίσκει στο ενδεικτικό κείμενο, απαριθμώντας κάθε αντιστοίχιση ώστε να επαληθεύσετε το μοτίβο σας.

Τύπος
result = text.match(new RegExp(pattern, flags))

Συχνές Ερωτήσεις

Τι σημαίνουν οι σημαίες της regex;
Το g βρίσκει όλες τις αντιστοιχίες αντί για την πρώτη, το i αγνοεί τα κεφαλαία/πεζά και το m επιτρέπει σε ^ και $ να ταιριάζουν σε αρχές και τέλη γραμμών.

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. Σχετικά με εμάς MateCalc.

Σχετικές Αριθμομηχανές