Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 2,760 community submitted regex patterns...
0
najit cenu
PCRE2 (PHP >=7.3)
tmp
Submitted by
anonymous
-
3 years ago
0
LaTeX matrix/table newline
PCRE2 (PHP >=7.3)
This regex matches newlines in LaTeX matrices/arrays/tabulars and adds \\ automatically.
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Unicode pattern
PCRE2 (PHP >=7.3)
匹配Unicode
Submitted by
anonymous
-
3 years ago
1
Conteúdo de Tag
PCRE2 (PHP >=7.3)
Captura o conteúdo do Lang do Twig. Serve pra qualquer conteúdo de tags.
Submitted by
Marcelo Gomes
-
3 years ago
1
matches commas not before, after or between digits
PCRE2 (PHP >=7.3)
this matches all commas except for ones that are next to a digit in some way. change the , or \d or \D according to needs
Submitted by
anonymous
-
3 years ago
1
match all between quotes
PCRE2 (PHP >=7.3)
this matches everything between quotation marks, the \" can be changed into whatever you need
Submitted by
anonymous
-
3 years ago
1
Sutthinart
PCRE2 (PHP >=7.3)
Private Regex Library
Submitted by
Sutthinart Khunvadhana
-
3 years ago
1
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
3 years ago
1
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
3 years ago
1
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
3 years ago
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
3 years ago
0
Feet to inches converter
PCRE2 (PHP >=7.3)
This only works in Google sheets. The test string is a sheets formula that converts feet inches in this into the total number of inches.
Submitted by
randywolf244
-
3 years ago
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
3 years ago
1
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
PCRE2 (PHP >=7.3)
/(# .*)(&𝗐𝖾𝗀𝗈)/𝗀𝗆
Submitted by
anonymous
-
3 years ago
0
MD h1 change to block with anchor
PCRE2 (PHP >=7.3)
Find any lines starting with # and followed by anchor name with & and wrap it into html so that we start with this: Title &anchor and finish with something like this: ...
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
0
Months (ID/ENG)
PCRE2 (PHP >=7.3)
.
Submitted by
Virtuozs
-
3 years ago
0
Dimensions
PCRE2 (PHP >=7.3)
Regex to match dimensions
Submitted by
intern_of_the_year
-
3 years ago
1
Fetch "text A (text B)" or "text A (text B (text C))"
PCRE2 (PHP >=7.3)
How do I extract then some text A, some text B and some text C if they are in the format some text A ( some text B ( some text C)) Please mind that in some cases may be only some text A ( some text B)...
Submitted by
anonymous
-
3 years ago
0
España - CIF = NIF jurídico (normativa a Sep 2021)
PCRE2 (PHP >=7.3)
Creo que no me he dejado ningún caso. Cuenta también con el caso en que los 2 primeros números son 00, que admite dígito de control de tipo letra sea cual sea la letra inicial (naturaleza jurídica).
Submitted by
Raúl Moreno Bello
-
3 years ago
(Last modified 2 years ago)
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
1
...
99
100
101
102
103
...
138
find integer not float number
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<!
\.
)
\b
[
0
-
9
]
+
\b
(?!
\.
)
/
gm
Open regex in editor
Description
such as a line of number: 0.345, 435, 345
Submitted by
anonymous
-
a year ago