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 15,460 community submitted regex patterns...
0
Extract First Word in a String with Anchor Start and Anchor End
PCRE (PHP <7.3)
Extract First Word in a String with Anchor Start and Anchor End
Submitted by
anonymous
-
4 years ago
-1
Extract Last Word in a String with Anchor Start and Anchor End
PCRE (PHP <7.3)
Extract Last Word in a String with Anchor Start and Anchor End
Submitted by
anonymous
-
4 years ago
0
Eastlink IPPay transaction - includes error capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
-1
Annuaire Notaires (personnes physique)
PCRE (PHP <7.3)
Annuaire Notaires (détecte les urls des fiches personnes physique)
Submitted by
anonymous
-
4 years ago
0
Url
ECMAScript (JavaScript)
Url minus Protocol
Submitted by
Website
-
4 years ago
0
201105 - Limmex htaccess rule
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Substitution
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
find vindi webhook requests that subscriptions has no order id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
-1
Conditional
PCRE (PHP <7.3)
match String Cool! only if there is a : somewhere preciding it
Submitted by
anonymous
-
4 years ago
0
matching for expression
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
PlayStation Network Identifier | PSNID | PSN | psnid | psn
PCRE (PHP <7.3)
This expression checks whether the string is a valid psnID. between 3 and 16 characters starts with a latin letter [a-zA-Z] can only contains latin letters [a-zA-Z], arabic numbers [0-9], hyphens [-] and underscores [_] ...
Submitted by
anonymous
-
4 years ago
0
payment ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
"(.+?)".+?
PCRE (PHP <7.3)
`"(.+?)".+?` pattern for key and value in Json file, dictionary
Submitted by
anonymous
-
4 years ago
0
Math every 2 line. => ^(?:.*\n){2}
PCRE (PHP <7.3)
^(?:.*\n){2}
Submitted by
anonymous
-
4 years ago
0
Weakaura Lua Wow Ability Matches
PCRE (PHP <7.3)
Matches spells abilities from WeakAura TriggerTemplateData lua file for World of Warcraft.
Submitted by
anonymous
-
4 years ago
0
WeakAuras ability regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
spring-boot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
legacy-ross
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Email pattern updated regex
PCRE (PHP <7.3)
Send any suggestion to igor@ijji.com.br
Submitted by
anonymous
-
4 years ago
1
...
214
215
216
217
218
...
773
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 2 months ago)