- Ausführende
-
Lernen
Python-Lernbereich Ausführbare Beispiele, NumPy, pandas und mehr C/C++-Lernbereich Zeiger, Speicher, STL und modernes C++ C#-LernbereichC#-Grundlagen, OOP, LINQ, Async und .NET-Übungen Python-Algorithmen Suche, Sortierung, Rekursion und Visualisierungen O(n) C/C++-Algorithmen Implementierungen in C und C++ vergleichen
- Aufgaben
Inspect and compare
Regex Tester
Write a regular expression and see matches, capture groups and replacements highlighted live.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Regex Tester
- Enter your pattern and flags such as g, i or m.
- Paste test text; matches are highlighted as you type.
- Check the capture groups and try a replacement.
Frequently asked questions
Which regex flavor is used?
JavaScript (ECMAScript), as in your browser. Most syntax also works in Python, Java and PCRE.
How do I use capture groups in replacements?
Use $1, $2 and so on for numbered groups, or $<name> for named groups.
Why does my pattern match only once?
Add the g (global) flag to find every match instead of only the first.
Übe Python mit Coding Challenges
Löse praktische Aufgaben direkt im Editor: Führe die Beispieltests aus, reiche ein und erhalte ein KI-Code-Review.