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,760 community submitted regex patterns...
1
Regex for Validating Egyptian Mobile Numbers with Specific Operator Codes
PCRE2 (PHP >=7.3)
This regular expression is designed to validate Egyptian mobile phone numbers by ensuring they conform to the following format: Country Code: The number must start with +20, representing Egypt's international dialing code. Mobile Networks: (Vodafone: 10, e&:11, Orange:12, we:15) Operator Code: The ...
Submitted by
Mohamed Amir
-
15 days ago
1
punctuation detector
PCRE2 (PHP >=7.3)
removes punctuation
Submitted by
anonymous
-
16 days ago
1
Parse EPICS Substitution files
PCRE2 (PHP >=7.3)
Extracts the file name and substitution pattern for each entry in an EPICS substitution file. See https://docs.epics-controls.org/projects/base/en/latest/msi.html#dbloadtemplate-format for a description of the file format being parsed
Submitted by
Giles Knap
-
22 days ago
1
Imiona i nazwiska
PCRE2 (PHP >=7.3)
Imiona i nazwiska
Submitted by
anonymous
-
24 days ago
(Last modified 21 days ago)
1
Advent of code 2024 day 3 step 2
PCRE2 (PHP >=7.3)
https://adventofcode.com/2024/day/3 I am wondering if there's a way to have mul do and don't appear under the same group
Submitted by
anonymous
-
a month ago
(Last modified a month ago)
1
Valid US State Abbreviations
PCRE2 (PHP >=7.3)
Unlike the community regexes that just check if the field is two alpha digits, this checks the content for the actual US state abbreviation.
Submitted by
NY4I
-
a month ago
1
ARRL Sections
PCRE2 (PHP >=7.3)
Finds valid ARRL sections
Submitted by
NY4I
-
a month ago
1
lore accuraten't email parser fetcher detective
PCRE2 (PHP >=7.3)
this will run in any flavor but python in regex101. based on wikipedia bugs: local part can have more than 64 chars if we abuse . or other things
Submitted by
fbd_1
-
a month ago
(Last modified a month ago)
1
URI(or URL) parser
PCRE2 (PHP >=7.3)
A fully? complete Uniform Resource Identifier/Locator parser for all your need. it should support theses flavors with some changes or by using a different delimiter: PRCE2/PRCE, ECMAscript and should be able to support RUST, JAVA, GOLANG, .NET flavors with ease. for PYTHON, I don't really know.
Submitted by
fbd_1
-
a month ago
(Last modified a month ago)
1
Extract links from text
PCRE2 (PHP >=7.3)
Extract links from text simple as that.
Submitted by
anonymous
-
a month ago
1
Telephone number validation
PCRE2 (PHP >=7.3)
This validates any mobile or landline phone number in the world.
Submitted by
kdesilva
-
a month ago
1
Repeated characters
PCRE2 (PHP >=7.3)
remove repeated characters from a string
Submitted by
Vishal Kumar
-
a month ago
1
CIMTS business situation
PCRE2 (PHP >=7.3)
just playing around
Submitted by
Jeremiah
-
a month ago
1
simple email checker
PCRE2 (PHP >=7.3)
sees if it is a proper email or not
Submitted by
anonymous
-
a month ago
1
Finite automata Definition
PCRE2 (PHP >=7.3)
Parses and groups elements inside the definition of a finite automaton, defined by the following backus naur form state ::= [a-zA-Z]+ set_of_final_states ::= "final states" = {state} simbol ::= [a-zA-Z]...
Submitted by
viktorashi
-
a month ago
1
Finite automata definition
PCRE2 (PHP >=7.3)
parses and groups elements inside the definition of a finite automaton, defined by the following backus naur form state ::= [a-zA-Z]+ set_of_final_states ::= "final states" = {state} simbol ::= [a-zA-Z]...
Submitted by
anonymous
-
a month ago
1
Set of Finite Automata final states
PCRE2 (PHP >=7.3)
it parses and groups the final states of a finate automaton
Submitted by
viktorashi copil borfashi
-
a month ago
1
english sentence tokenizer
PCRE2 (PHP >=7.3)
This is an english sentence tokenizer; it tokenizes correct english sentences. This can be done in a very short, "regex" string. Incorrect sentence examples be like: awesome thats so cool!...
Submitted by
anonymous
-
2 months ago
1
Clean unnecessary white spaces from JSON
PCRE2 (PHP >=7.3)
transform formatted JSON to one line by removing unneeded spaces.
Submitted by
anonymous
-
2 months ago
(Last modified 2 months ago)
1
Match router
PCRE2 (PHP >=7.3)
Match for match everything between x and x
Submitted by
anonymous
-
2 months ago
1
2
3
...
138
Community Library Entry
72
Regular Expression
Recommended
ECMAScript (JavaScript)
/
(?:
(
[
+
]
\d
{1,4}
)
[
-.
\s
]
?
)?
(?:
[
(
]
(
\d
{1,3}
)
[
)
]
[
-.
\s
]
?
)?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,4}
)
[
-.
\s
]
?
(
\d
{1,9}
)
/
g
Open regex in editor
Description
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
11 years ago
(Last modified a year ago)