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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
2
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
WKT POINT to longtitude and latitude
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Search CSV line for foobar matches
PCRE (PHP <7.3)
Search CSV line for foobar matches
Submitted by
Balmark
-
9 years ago
1
Update something
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
coffeescript operator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
match invalid postcode
Python
match as long as not 5digit code
Submitted by
anonymous
-
9 years ago
1
H
PCRE (PHP <7.3)
I
Submitted by
anonymous
-
9 years ago
0
float
PCRE (PHP <7.3)
matches floats: 1.0f 1.0F .0f .1F 1f 1F
Submitted by
Mateusz Paluch
-
9 years ago
-2
float
PCRE (PHP <7.3)
matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by
Mateusz Paluch
-
9 years ago
1
Parse pgbouncer log lines from syslog
Python
Regex to read pgbouncer's log lines when it's logging to syslog, and break it into useful groups.
Submitted by
Josh Berkus
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
1
Git merge replacements
PCRE (PHP <7.3)
Group 1 gives ours, group 2 gives theirs
Submitted by
Erik
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
1
android strings tester
PCRE (PHP <7.3)
replace .* with a test string
Submitted by
l3d00m
-
9 years ago
1
Line VTY
Python
Used to search line vty for exec
Submitted by
Hozenya
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
RFC2616 HTTP Header Date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
MyRegexOnVeb
PCRE (PHP <7.3)
Выражения на вебы
Submitted by
Legend072
-
9 years ago
1
extraction
PCRE (PHP <7.3)
jamie sucks
Submitted by
me
-
9 years ago
1
...
787
788
789
790
791
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
typedef
\s
+
)?
(?P<PACKED>
\w
+
)?
\s
*
(?P<TYPE>
union
|
struct
|
enum
)
\s
+
(?P<NAME2>
\w
+
)
\s
*
\{
(?P<FIELDS>
.
*
?
(?:
\{
.
*
?
\}
.
*
?
)*
?
)
\}
(?P<NAME>
[^
;
]
*
)
;
"
sg
Open regex in editor
Description
test struct c regex
Submitted by
anonymous
-
3 years ago