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,980 community submitted regex patterns...
1
url segment parsing
PCRE (PHP <7.3)
URL Parsing
Submitted by
Ricardo Cantu
-
9 years ago
0
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Substring Matching Word, Hyphen, Underscores and Digits
PCRE (PHP <7.3)
Matches customer portion of call detail records found in the fields dcontext, lastdata, and usefield of an Asterisk CDR table. Additional processing required to get fully clean values.
Submitted by
lindstrom
-
9 years ago
1
tag remover
PCRE (PHP <7.3)
remove html tags, while leaving text in between
Submitted by
anonymous
-
9 years ago
1
Data URI scheme
PCRE (PHP <7.3)
Simple and not complete pattern for getting the items of a Data URI scheme.
Submitted by
@afoeder
-
9 years ago
1
ANGULAR IMPORT TYPESCRIPT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
5
ipv6
PCRE (PHP <7.3)
Match an ipv6 address
Submitted by
Frusty
-
9 years ago
1
Zipcode with alphanumeric
ECMAScript (JavaScript)
It Should take 10 numbers and alphabetic characters and numbers only.
Submitted by
Pravallika Chowdary
-
9 years ago
1
Password with limits
ECMAScript (JavaScript)
It will accepts minimum 8 characters, and should have 1 Uppercase letter, 1 Lowercase letter, 1 Number and 1 Special Character.
Submitted by
Pravallika Chowdary
-
9 years ago
1
Mobile number with spaces
ECMAScript (JavaScript)
It accepts the mobile no with space upto 13 digits with country code but without + symbol. following are examples 1.9959966566 2.919959966566 3.91 995 996 6566 4.995 996 6566...
Submitted by
Pravallika Chowdary
-
9 years ago
1
Name with spaces also useful for city name
ECMAScript (JavaScript)
It will accepts the name with spaces with no limitation and we can also use same for city.
Submitted by
Pravallika Chowdary
-
9 years ago
0
@mention parser
PCRE (PHP <7.3)
Parse @mentions in text
Submitted by
anonymous
-
9 years ago
2
validate german zip codes
ECMAScript (JavaScript)
no description available
Submitted by
dopa0002
-
9 years ago
1
Twitter hashtag
PCRE (PHP <7.3)
no description available
Submitted by
ksc
-
9 years ago
1
Username check
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
0000000
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
C#
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Integers
ECMAScript (JavaScript)
Positive or negative. 0 is allowed but may not be a leading digit.
Submitted by
anonymous
-
9 years ago
2
html{ height:100%}body{ margin:0px; padding:0px; height:100%; min-hei
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Regex to match lines having string1 and not having string3
PCRE (PHP <7.3)
no description available
Submitted by
Vivek Shah
-
9 years ago
1
...
459
460
461
462
463
...
649
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 3 months ago)