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
Community Patterns
Search among 4,460 community submitted regex patterns...
0
Finds all forms of "согласен" words
Python
Finds all forms of "согласен" words
Submitted by
anonymous
-
3 years ago
0
Search pages and youtube videos
PCRE2 (PHP >=7.3)
Regex to match URLs of search result pages and youtube videos.
Submitted by
Wei Li
-
3 years ago
0
array() to shorthand []
PCRE2 (PHP >=7.3)
PHP array() syntax to shorthand
Submitted by
anonymous
-
3 years ago
0
Extract noun chunks
PCRE2 (PHP >=7.3)
Extract noun chunks in a sentence.
Submitted by
anonymous
-
3 years ago
0
Validate UUID
PCRE2 (PHP >=7.3)
Use this regex to validate a UUID
Submitted by
@eltonplima
-
3 years ago
0
First_Tests
PCRE2 (PHP >=7.3)
first tests
Submitted by
anonymous
-
3 years ago
0
Replace First and Last Word in string
Python
From Rp. 1000 (3 %) to 1000
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Remove bracketed text
PCRE2 (PHP >=7.3)
Remove bracketed text using substitution
Submitted by
markfullmer
-
3 years ago
0
Retrieve BSSID and signal strength from netsh
PCRE2 (PHP >=7.3)
Retrieve BSSID and signal strength from netsh
Submitted by
asasine
-
3 years ago
0
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
3 years ago
0
获取秀人模特名字
PCRE2 (PHP >=7.3)
能够获取大部分具备标准格式的秀人套图的模特名字,但没办法解决本身名字中带有空格的问题
Submitted by
anonymous
-
3 years ago
0
BanRegex
PCRE2 (PHP >=7.3)
B站”刷寿命“弹幕屏蔽正则
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
my_lib
PCRE2 (PHP >=7.3)
without numbers
Submitted by
anonymous
-
3 years ago
0
HTML -> echo in bat
PCRE2 (PHP >=7.3)
stage1: % to %% stage2: (\|\"|\;) to \^$1 ...
Submitted by
anonymous
-
3 years ago
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
eliminate doublicated lines in DBCs after transofming TX-Message Attribs to Message-Attribs
PCRE2 (PHP >=7.3)
searches for doublicate lines starting with 'BA'
Submitted by
CZ_LMH
-
3 years ago
0
Extract pdc name and version from ApplicationContext-pdc.xml
PCRE2 (PHP >=7.3)
Extract pdc name and version from ApplicationContext-pdc.xml
Submitted by
anonymous
-
3 years ago
0
YouTube Video Id Extractor
PCRE2 (PHP >=7.3)
Extracts video id of YouTube videos. Note: will not work for playlists
Submitted by
UnrealApex
-
3 years ago
1
...
116
117
118
119
120
...
223
Phone Regex
0
Regular Expression
Python
r"
(
\+
91
[
\s
-
]
\d
{5}
[
\s
-
]
\d
{5}
)
|
(
011
[
\s
-
]
\d
{8}
)
|
(
\+
91
\d
{2}
[
\s
-
]
\d
{8}
)
|
(
^
0
\d
{10}
)
|
(
^
[
6
-
9
]
\d
{9}
)
|
(
91
[
\s
-
]
\d
{3,5}
[
\s
-
]
\d
{2,5}
[
\s
-
]
\d
{4}
)
|
(
91
[
\s
-
]
\d
{5}
[
\s
-
]
\d
{5}
)
|
(
91
[
\s
-
]
\d
{10}
)
|
(
\d
{4}
[
\s
-
]
\d
{4}
[
\s
-
]
\d
{3}
)
"
gm
Open regex in editor
Description
For Phone Numbers
Submitted by
anonymous
-
3 years ago