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 17,480 community submitted regex patterns...
1
Dices
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Separate by double quotes
ECMAScript (JavaScript)
String that may begin or end with spaces, and contains double-quoted text, separated by a number of spaces
Submitted by
Rafael Sanchez
-
8 years ago
0
IP Address Capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
URL Matcher
PCRE (PHP <7.3)
Refernce : http://code.tutsplus.com/tutorials/8-regular-expressions-you-should-know--net-6149
Submitted by
Mehdi.Shokohi
-
8 years ago
1
link url match
PCRE (PHP <7.3)
matches url
Submitted by
bgrgndz
-
8 years ago
1
[A-Za-z0-9-]+
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
http://filehippo.com/download_adobe_air/history
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
First Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
CSF Firewall SRC
PCRE (PHP <7.3)
Gets the SRC IP address from the CSF Firewall logs
Submitted by
anonymous
-
8 years ago
1
Firewall CSF
PCRE (PHP <7.3)
Gets the SRC from the CSF Log files
Submitted by
anonymous
-
8 years ago
1
a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
then:error: blocks with self reference
PCRE (PHP <7.3)
no description available
Submitted by
Anthony D
-
8 years ago
1
OdiScenarioFolder filter on smartexport xml
PCRE (PHP <7.3)
OdiScenarioFolder filter on smartexport xml
Submitted by
Angelo
-
8 years ago
0
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Functions, macros and protocols
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
defmodule regex
ECMAScript (JavaScript)
no description available
Submitted by
Jakub Hajto
-
8 years ago
1
foobar
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Location Hours String
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
649
650
651
652
653
...
874
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\s
]
*
(
.
*
?
)
[
\s
]
*
$
/
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 3 months ago)