Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,480 community submitted regex patterns...
107
ECMAScript/JavaScript trim
Created
·
2013-09-10 08:21
Updated
·
2024-09-19 14:38
Flavor
·
ECMAScript (JavaScript)
Trim leading and trailing whitespace from a string.
Submitted by
fp
73
Regex for telephone numbers all over the world
Created
·
2014-04-08 07:58
Updated
·
2023-10-09 14:47
Flavor
·
ECMAScript (JavaScript)
Recommended
·
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
87
Password Validation
Created
·
2015-07-08 18:46
Flavor
·
ECMAScript (JavaScript)
Checks that a password has a minimum of 6 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number with no spaces.
Submitted by
Christian Klemp
6
Password
Created
·
2013-12-06 14:02
Updated
·
2023-07-21 04:59
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
31
Email address (most used)
Created
·
2015-07-01 09:32
Flavor
·
ECMAScript (JavaScript)
Email address, most used cases
Submitted by
Jago
35
Google like regex
Created
·
2014-05-12 13:35
Flavor
·
ECMAScript (JavaScript)
Attempts to mimic Google search box behavior, returning an array with the separated search strings (that keep the +/- indicator for following operations)
Submitted by
mettjus
14
Phone Number
Created
·
2015-08-11 17:07
Flavor
·
ECMAScript (JavaScript)
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
16
Password
Created
·
2015-04-28 16:49
Flavor
·
ECMAScript (JavaScript)
Safe Password that allow only with a number, a lowercase, a uppercase, and a special character
Submitted by
davidlondono
35
IP Address validator
Created
·
2015-06-18 12:52
Flavor
·
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp
16
http url regex
Created
·
2015-06-21 19:49
Flavor
·
ECMAScript (JavaScript)
general purpose HTTP URL regex
Submitted by
Miguel Castillo @manchagnu
25
Quote Macthing with escape
Created
·
2015-05-10 20:48
Flavor
·
ECMAScript (JavaScript)
Matches text within quotes (", ') and escapes the charecters.
Submitted by
Vihan Bhargava
7
Date validation
Created
·
2015-07-24 11:21
Flavor
·
ECMAScript (JavaScript)
Besides leap year handling, this takes care of date validation in the yy-mm-dd format.
Submitted by
anonymous
36
Strict Password Validator
Created
·
2018-01-31 01:03
Updated
·
2023-07-19 15:28
Flavor
·
ECMAScript (JavaScript)
This regex matches only when all the following are true: password must contain 1 number (0-9) password must contain 1 uppercase letters password must contain 1 lowercase letters password must contain 1 non-alpha numeric number password is 8-16 characters with no space
Submitted by
qho
24
grab valid css rules and properties
Created
·
2015-06-03 19:17
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Pavel Dominguez
12
Full name (Turkish)
Created
·
2014-09-29 13:31
Flavor
·
ECMAScript (JavaScript)
Matches case insensitive first name, optional unlimited number of middle names and last name separated with space format. Replaced \w with explicit char range for Turkish support. (Äž accepted as first char not to over complex)
Submitted by
CKK
22
Email (RFC2822)
Created
·
2015-07-01 09:31
Flavor
·
ECMAScript (JavaScript)
Recommended
·
Email address compliant with RFC2822
Submitted by
Jago
16
Hashtag
Created
·
2014-10-05 17:14
Flavor
·
ECMAScript (JavaScript)
The secret of the Twitterverse.
Submitted by
Joogl
4
url
Created
·
2015-07-23 21:43
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
6
Simple Number
Created
·
2015-10-20 16:06
Flavor
·
ECMAScript (JavaScript)
Verifies Number is a negative/positive number. Number may be a decimal, but if it is, it requires at least one number before and after the decimal place. Decimal numbers may also be negative or positive. Only 1 decimal place is allowed.
Submitted by
David P Smith
12
Username with "_" "-"
Created
·
2015-10-16 15:44
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
Previous page
1
2
3
…
174
Next page
Community Library Entry
1
Regular Expression
Created
·
2016-07-20 12:16
Flavor
·
PCRE (Legacy)
/
[
A
-
Fa
-
f{64}
]
/
Open regex in editor
Description
no description available
Submitted by
anonymous