Przejdź do treści głównej

Tester wyrażeń regularnych

Narzędzia dla Deweloperów

Testuj wyrażenia regularne z podświetlaniem dopasowań

Szybki podgląd odpowiedzi

Regex Tester: Test regular expressions with match highlighting. Regex Tester uses standard developer formulas to compute accurate results instantly.

Często używane ustawienia wstępne:

Wyrażenie regularne

//g
g=globalne i=ignoruj wielkość liter m=wiele wierszy s=kropka dopasowuje znak nowej linii

Tekst testowy

Liczba dopasowań2
Pierwsza pozycja5
Znakg
SilnikJavaScript

Podświetlony wynik

main 13812345678, backup 19987654321

Szczegóły dopasowania

#Treść dopasowaniaPołożenieGrupa
1138123456785—
21998765432125—

Szybkie wyszukiwanie gramatyki

SymbolZnaczenie
\d \w \sdigit / word / whitespace
.any char except newline
* + ?0+ / 1+ / 0 or 1 times
{n,m}repeat n to m times
[abc] [^abc]set / negated set
^ $ \bstart / end / word boundary
( ) (?: )capture / non-capture group
a|balternation (or)

💡 Uważaj na zagnieżdżone kwantyfikatory (np. (a+)+), które powodują katastrofalne cofanie się, złośliwe dane wejściowe mogą zablokować stronę. Staraj się pisać wyrażenia deterministyczne z jasnymi granicami.

Czy to narzędzie jest dla Ciebie pomocne?

Jak używać

  1. Paste or type content: drop code/text into the Regex Tester or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Główne punkty

  • Regex Tester is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Test regular expressions with match highlighting.
  • Results come with formulas and reference tables so you can verify every number.

Zasady i wzory

Regex Tester formula

Regex Tester uses standard developer formulas to compute accurate results instantly.

Często zadawane pytania

How do I use the Regex Tester?
Open the page and fill in the input fields — results update automatically. Test regular expressions with match highlighting.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Powiązane narzędzia

Powiązane poradniki

Źródła i aktualizacje

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Ostatnia aktualizacja:

Wzory i treści na tej stronie zostały sprawdzone przez zespół YiJianSuan. Są one wyłącznie do celów edukacyjnych – w sprawach praktycznych należy kierować się oficjalnymi informacjami.

Treści są utrzymywane i regularnie weryfikowane przez zespół redakcyjny YiJianSuan – proces aktualizacji i weryfikacji jest opisany wPolityka redakcyjna.

Cytuj tę stronę: YiJianSuan. Tester wyrażeń regularnych[EB/OL]. https://www.yijiansuan.com/pl/c/dev/regex

Wyniki generowane przez to narzędzie mają wyłącznie charakter informacyjny i nie stanowią porady zawodowej – należy kierować się oficjalnymi obliczeniami.