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...
0
import module
ECMAScript (JavaScript)
match import module expression: import{mod}from"url/url/file.js" import {mod} from "url/url/file.js"
Submitted by
handoko75@gmail.com
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
0
groupby string
PCRE2 (PHP >=7.3)
a(bb) aabbabbabbaaa expectedoutput: Start :1, End : 4, Group abb...
Submitted by
anonymous
-
2 years ago
0
Hello World exercise
PCRE2 (PHP >=7.3)
Find Hello world!
Submitted by
viktomas
-
2 years ago
0
Match Phone Number: 03## ####### OR +92 3## #######
Java 8
Can be used to match Pakistani SIM card Numbers
Submitted by
anonymous
-
2 years ago
0
Capture mmcli gps location
ECMAScript (JavaScript)
groups latitude and longitude values from the return of "mmcli -m 0 -K --location-get"
Submitted by
anonymous
-
2 years ago
0
Time Hint
PCRE2 (PHP >=7.3)
Regex for detecting common date/time formats.
Submitted by
Gyen
-
2 years ago
0
Filtering of URL parameter passwords
PCRE2 (PHP >=7.3)
When logging URLs the passwords that are sent as URL parameters should be masked out to not write them in clear text into the log files.
Submitted by
Jan Kessler
-
2 years ago
0
поиск по ключу но только при наличии еще одного ключа
PCRE2 (PHP >=7.3)
регулярное выражение по вхождению ключа, но только при наличии еще одного ключа
Submitted by
Oin
-
2 years ago
0
Filter Special Characters
PCRE (PHP <7.3)
A regular expression to filter special characters.
Submitted by
gwicho38
-
2 years ago
1
aadhar number
PCRE2 (PHP >=7.3)
Finds Aadhar number from given string
Submitted by
anonymous
-
2 years ago
0
AWS Cron regex
PCRE2 (PHP >=7.3)
A incomplete regex for validating AWS cron expressions
Submitted by
anonymous
-
2 years ago
1
ISBN-10
ECMAScript (JavaScript)
Regex that matches the old ISBN-10 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-10-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
1
ISBN-13
ECMAScript (JavaScript)
Regex that matches the new (as of 2007) ISBN-13 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-13-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
0
nextflow
PCRE2 (PHP >=7.3)
nextflow grammer
Submitted by
anonymous
-
2 years ago
1
find all url in <a> in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
1
find text in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
2 years ago
0
No acepta más de un espacio por palabra
ECMAScript (JavaScript)
No more spaces between words
Submitted by
Magdiel Gomez
-
2 years ago
1
surnames
Python
italian uppercase surnames
Submitted by
anonymous
-
2 years ago
0
AyL
Python
Example of re and substitutions with csv file
Submitted by
Ing Daniel Pérez
-
2 years ago
1
...
114
115
116
117
118
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
\w
+
\@
\w
+
\.
(
com
|
ru
|
net
)
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago