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...
0
remove extra spaces on string
ECMAScript (JavaScript)
Get rid of initial, trailing spaces, and extra middle spaces (more than one space in the middle of a string)
Submitted by
anonymous
-
6 years ago
0
Bandcamp Downloader Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
iban
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Gready y Lazy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Cuantificadores y Repetición
PCRE (PHP <7.3)
Curso de Expresiones Regulares: Cuantificadores y Repetición
Submitted by
Vladimir Hernández Castro
-
6 years ago
0
Meta Characters
PCRE (PHP <7.3)
Curso de Expresiones Regulares: Meta Caracteres
Submitted by
Vladimir Hernández Castro
-
6 years ago
0
Modes
PCRE (PHP <7.3)
Curso de Expresiones Regulares: Modos
Submitted by
Vladimir Hernández Castro
-
6 years ago
0
Literals
PCRE (PHP <7.3)
Primer ejercicio del Curso de Expresiones Regulares
Submitted by
Vladimir Hernández Castro
-
6 years ago
0
Check for username
ECMAScript (JavaScript)
The username should be at least 2 characters long, can have lower and uppercase letters, and can only have numbers in the end.
Submitted by
anonymous
-
6 years ago
0
MAX_LONG_STRING
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
(Last modified 2 years ago)
0
File name without extension
Python
further editing is required in code to get the filename without extension
Submitted by
anonymous
-
6 years ago
0
Folder path
Python
no description available
Submitted by
anonymous
-
6 years ago
0
File extension
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Base64 Encoded Object GUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
State abbreviations
PCRE (PHP <7.3)
This regex efficiently captures any U.S. state abbreviation in only 117 characters, as opposed to 159 characters to list each state individually.
Submitted by
anonymous
-
6 years ago
0
number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
iban test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
X3D bboxSize
ECMAScript (JavaScript)
X3D bboxSize Three-tuple floating-point values with optional scientific notation, bounded non-negative or else -1 -1 -1 sentinel value. Derived from SFVec3f http://www.web3d.org/specifications/X3dRegularExpressions.html#bboxSize
Submitted by
anonymous
-
6 years ago
0
X3D bboxSize
ECMAScript (JavaScript)
X3D bboxSize Three-tuple floating-point values with optional scientific notation, bounded non-negative or else -1 -1 -1 sentinel value. Derived from SFVec3f http://www.web3d.org/specifications/X3dRegularExpressions.html#bboxSize
Submitted by
anonymous
-
6 years ago
0
Parse Accept Header HTTP
PCRE (PHP <7.3)
Parse the Accept request HTTP header advertises which content types, expressed as MIME types, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
Submitted by
anonymous
-
6 years ago
1
...
505
506
507
508
509
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<start>
^
[
0
-
9
]
+
)
(?<message>
[
A
-
Za
-
z
]
+
)
(?<end>
[^
A
-
Za
-
z
]
*
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago