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 18,000 community submitted regex patterns...
-2
email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
Match v4 IP address
PCRE (PHP <7.3)
no description available
Submitted by
Budiony Damyanov
-
11 years ago
-2
Sample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Detect HTML Linebreak Tags
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-
9 years ago
-2
Between two strings
Python
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
9 years ago
-3
Latitude/longitude tester
PCRE (PHP <7.3)
Tests the string if it does contain valid latitude and longitude parameters
Submitted by
Doro
-
11 years ago
-3
Matches percentage with any number of digits
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-
9 years ago
-3
FQDN Fully Qualified Domain Name
PCRE (PHP <7.3)
no description available
Submitted by
Rafael Justo and Mauro Trajber
-
9 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
11 years ago
0
decimal numbers
PCRE (PHP <7.3)
match decimal numbers with sign
Submitted by
mariano_dm
-
11 years ago
0
Match all parts of the valid JSON
PCRE (PHP <7.3)
Originally written by Pumbaa80, but slightly adjusted: http://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript
Submitted by
Pumbaa80
-
11 years ago
0
SFTP with username and optional port & password
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Any Character Between 6-64 Long
PCRE (PHP <7.3)
Allowing for complex passwords
Submitted by
anonymous
-
11 years ago
0
Replace one or more 'br' tags with a single space.
PCRE (PHP <7.3)
no description available
Submitted by
James Furey
-
10 years ago
0
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
0
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
PCRE (PHP <7.3)
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
10 years ago
0
Get all header tag (<hn>) in html file
PCRE (PHP <7.3)
This regex get all header tag in html file with tag included
Submitted by
Aubin
-
10 years ago
0
Regex Mobile Number Validation Code
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
0
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
10 years ago
1
...
574
575
576
577
578
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
(
\[
.
+
\]
*
)
)
/
g
Open regex in editor
Description
Matching the lines that are attributes
Submitted by
anonymous
-
7 years ago