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 2,980 community submitted regex patterns...
0
Sonepar - BW5 Service Mapping
PCRE2 (PHP >=7.3)
Common Mapping
Submitted by
anonymous
-
2 years ago
0
Clean up Scribd quote
PCRE2 (PHP >=7.3)
Scribd is a great resource for reading more than you would be able to otherwise, but the app sucks. And in particular, it sucks if you want to copy your highlights to another app, because it automatically adds the book, author, and a link to Scribd with every copy. This regex simple eliminates all ...
Submitted by
derBingle
-
2 years ago
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Firstname Lastname (Western alphabet)
PCRE2 (PHP >=7.3)
A regular expression to validate Firstname Lastname, supports multiple names, de, le, O',L',l',d', prefixes.
Submitted by
remedio
-
2 years ago
0
async calls in foreach
PCRE2 (PHP >=7.3)
async calls in foreach loop, search by await keyword found in foreach
Submitted by
mmateeva
-
2 years ago
0
webforms detection
PCRE2 (PHP >=7.3)
Rule to identify web form collections
Submitted by
Pandurang Patil
-
2 years ago
0
Country Codes (Alpha 2 and Alpha 3)
PCRE2 (PHP >=7.3)
Country Code Classifier ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest. They ar...
Submitted by
loganmcampbell
-
2 years ago
-1
url matcher 2.0
PCRE2 (PHP >=7.3)
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
2 years ago
0
UFUNCTION parser
PCRE2 (PHP >=7.3)
Breaks any UFUNCTION into parts
Submitted by
anonymous
-
2 years ago
0
Match All Words Beginning With 'a'
PCRE2 (PHP >=7.3)
This code can be adapted to match any character or word in a list using a textbox as follows: "^[" & TextBox2.Text & "]\w+" However, for this to work the text in the main textbox needs to be made into a list replacing whitespaces, tabs, carriage returns, etc. with a carriage return. The list doesn...
Submitted by
anonymous
-
2 years ago
0
Remove XML whitespace
PCRE2 (PHP >=7.3)
Removes whitespace around XML elements and trims the content
Submitted by
anonymous
-
2 years ago
0
Etiquetas de HTML
PCRE2 (PHP >=7.3)
Ejercicio 3. Diseño de expresión regular asignada y autómata finito Equipo: MAD
Submitted by
anonymous
-
2 years ago
0
Patent Number part extraction
PCRE2 (PHP >=7.3)
Patent Number part extraction (Country Code + Number + Kind Code)
Submitted by
anonymous
-
2 years ago
0
Windows File With Double Extension
PCRE2 (PHP >=7.3)
This can be used for threat hunting. It will look for valid file names that have a double extension that can be used to trick people. Ex: Invoice.pdf.exe
Submitted by
Todd A Danko
-
2 years ago
0
YouTube link parser
PCRE2 (PHP >=7.3)
Validate an URI to YouTube video.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
2 years ago
0
Username (Alphanumeric Only)
PCRE2 (PHP >=7.3)
Alphanumeric Only (Uppercase + Lowercase + Numeric) Not support special character.
Submitted by
yvnt
-
2 years ago
0
Password (Numeric, Special Char, Uppercase, Lowercase)
PCRE2 (PHP >=7.3)
Password Regex with minimum contain one Numeric, Special Char, Uppercase, Lowercase
Submitted by
yvnt
-
2 years ago
0
Regex range date
PCRE2 (PHP >=7.3)
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|12|3[01])\b
Submitted by
Ziuzhang
-
2 years ago
0
Regular expression Regix for Iranian mobile phone numbers
PCRE2 (PHP >=7.3)
Regular expression Regix for Iranian mobile phone numbers
Submitted by
anonymous
-
2 years ago
1
...
141
142
143
144
145
...
149
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^\d
{1,2}
\.
*
【判断题】
*
(
.
+
)
\n
*
【答案】
*
(
.
+
)
\n
*
【解析】
*
(
.
+
)
/
gm
Open regex in editor
Description
。
Submitted by
anonymous
-
2 years ago