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 12,080 community submitted regex patterns...
0
Parse Haxe Method Signature
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Youtube subtitle time parser.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Dodanie nawiasów do kolumny wartości np z IN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
File URL title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match Language
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find Image
PCRE (PHP <7.3)
Search first image in string
Submitted by
anonymous
-
8 years ago
0
Match content in div with class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Splunk, RequestURI parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
split zip and city from string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
SSN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
match pe sms dupa plata1-20
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
match words only
PCRE (PHP <7.3)
match words excluding unicode char where a sentence is a group of two or more characters (words).
Submitted by
anonymous
-
8 years ago
0
Find the JSON in invalid string
PCRE (PHP <7.3)
http://stackoverflow.com/q/40361407/47672
Submitted by
anonymous
-
8 years ago
0
ADI Actor names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JAMM Title parse for duration
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Capture Nth number of instances before a pattern
PCRE (PHP <7.3)
Elegant way to capture recurring patterns up to a point.
Submitted by
anonymous
-
8 years ago
0
postscreen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
finding hashtags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
IPv4 search
PCRE (PHP <7.3)
basic ip search
Submitted by
anonymous
-
8 years ago
0
Extract database name of an PostgreSQL JDBC connection url
PCRE (PHP <7.3)
Extracts the database name of an PostgreSQL JDBC connection url
Submitted by
anonymous
-
8 years ago
1
...
4
5
6
7
8
...
604
Sri Lankan Mobile Number Validation
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
]
{1}
[
7
]
{1}
[
01245678
]
{1}
[
0
-
9
]
{7}
$
/
gm
Open regex in editor
Description
See
https://en.wikipedia.org/wiki/Telephone_numbers_in_Sri_Lanka
Submitted by
Isuru Ranawaka
-
2 years ago