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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 8,340 community submitted regex patterns...
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
1
Line VTY
Python
Used to search line vty for exec
Submitted by
Hozenya
-
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
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
1
DDDD, dd MMMM
ECMAScript (JavaScript)
Friday, 23 October
Submitted by
nehakadam
-
9 years ago
1
Index filtering
ECMAScript (JavaScript)
Une expression pour définir des expressions de filtrage basé sur l'index (comme les numéros de pages dans les dialogues d'impression) Chaque segment de page est séparé par une , Chaque segment peut être sous la forme : : 4 .. : 3.. .. : 2..4...
Submitted by
olivr70
-
9 years ago
1
arxiv
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
9 years ago
1
Valid .bit domain
Python
no description available
Submitted by
anonymous
-
9 years ago
1
RFC Persona Fisica
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
9 years ago
1
RFC Persona Moral
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
9 years ago
1
apache log parser
Python
no description available
Submitted by
Claudio Borges
-
9 years ago
1
rolex
Python
no description available
Submitted by
anonymous
-
9 years ago
1
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
9 years ago
1
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
9 years ago
1
tasdf
Python
no description available
Submitted by
anonymous
-
9 years ago
1
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
URL Segment Matching for rewrites
ECMAScript (JavaScript)
no description available
Submitted by
jim
-
9 years ago
1
FB Grops
Python
no description available
Submitted by
anonymous
-
9 years ago
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago
1
...
301
302
303
304
305
...
417
LINX
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
8058
|
5899
|
5898
|
6010
|
6018
|
6014
|
6063
)
[
0
-
9
]
{10,15}
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago