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 12,760 community submitted regex patterns...
1
Get the city name from combined zip code and city input
ECMAScript (JavaScript)
Suitable for countries with a combination of
Submitted by
Nils
-
9 years ago
1
Asian characters
PCRE (PHP <7.3)
Detects hiragana, katakana, kanji and japanese alphabet
Submitted by
anonymous
-
9 years ago
1
Funy error
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Detect Adobe Edge file
PCRE (PHP <7.3)
no description available
Submitted by
gerezs
-
9 years ago
1
Parse Entire URL
PCRE (PHP <7.3)
This regex is a mashup that strips protocol, domain and URI into seperate capture groups.
Submitted by
Robert Kozora
-
9 years ago
1
Akamai Logs
PCRE (PHP <7.3)
Akamai Logs
Submitted by
wzr
-
9 years ago
1
URL Parameters & Values
ECMAScript (JavaScript)
Returns matches of parameter and value separately from a URL. Ignores anything after a #.
Submitted by
Ross Tracy
-
9 years ago
1
Minecraft Crashlog Mod Errored
PCRE (PHP <7.3)
Use this to find wich mods (in Minecraft, Forge) errored out in the Crashlog
Submitted by
anonymous
-
9 years ago
1
phone services
PCRE (PHP <7.3)
no description available
Submitted by
Lam Nguyen
-
9 years ago
1
ethtool_speed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
url extractor
PCRE (PHP <7.3)
Will extract URLs from text string if they have a space or line ending at the end and are not wrapped inside a string delimiter
Submitted by
pip
-
9 years ago
1
select in tag - with no tag
PCRE (PHP <7.3)
as title
Submitted by
Wiktor
-
9 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
-
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Cookie body
PCRE (PHP <7.3)
Get the body of a specific cookie from an HTTP header.
Submitted by
anonymous
-
9 years ago
1
direct link googldrive
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
PHP identifier
PCRE (PHP <7.3)
The official expression used for variable names, class names, etc. From http://www.php.net/manual/en/language.variables.basics.php
Submitted by
anonymous
-
9 years ago
1
lookbehind + lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ruTorrent RSS filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
459
460
461
462
463
...
638
Community Library Entry
107
Regular Expression
ECMAScript (JavaScript)
/
^
[
\t
]
+
|
[
\t
]
+
$
/
gm
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 2 months ago)