Ferramenta gratuita que valida a cadeia de caracteres de entrada fornecida contra a expressão regular fornecida e corresponde a saída de acordo com o Regex definido.
A ferramenta suporta análise e depuração em linguagens JavaScript, Python e PHP
Thanks for your feedback
Obtenha visibilidade de nível de código e aprimore o desempenho de seu aplicativo usando o APM Insight do Site24x7.
Verifique o tempo de atividade de mais de 120 locais globais
Monitoramento de entrega de e-mail.
Monitore seu servidor SMTP.
Monitoramento do servidor POP/IMAP.
Alertas baseados em IA
Monitoramento do servidor Microsoft Exchange.
Solucione problemas relacionados a servidores de e-mail.
Compreenda as dependências externas
Monitore componentes e métricas personalizadas
Following are the explanations for the flags used.
Regex Parser Flags | Description |
---|---|
g (Global) | Don't return after the first match |
s (Dot All) | Dot also matches newline |
i (Case Insensitive) | Case insensitive match, ignores case of alphabets |
m (Multiline) | Causes ^ and $ to match the begin/end of each line |
D (Dollar) | Makes the dollar sign '$', to always match the end of the string, instead of end of the line |
x (Extended) | Spaces in the pattern are ignored |
U (Ungreedy) | The match becomes lazy by default |
Following are few example input regex and results for the sample input string
InputRegex | Description | Input string | Result |
---|---|---|---|
[A-Z] | Character class: Literally matches all characters given inside '[' ']' | Once upon A time There was a King with Seven sons | |
[A-Za-z]+ | Checks for one or more matches | Once upon A time | |
([A-Z]) | Capturing group: Captures the matches of pattern within '(' and ')' in separate groups | Once upon A time | |
\w | Matches any word character (similar to [a-zA-Z0-9_]) | Site | |
([A-Z])\w+ | Capture all groups starting with uppercase alphabet and match all words starting with upper case alphabet followed by word character | Once |