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,020 community submitted regex patterns...
1
Clean unnecessary white spaces from JSON
PCRE2 (PHP >=7.3)
transform formatted JSON to one line by removing unneeded spaces.
Submitted by
anonymous
-
4 days ago
(Last modified 4 days 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
-
4 days 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
-
19 hours 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
-
19 hours 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
-
19 hours ago
1
simple email checker
PCRE2 (PHP >=7.3)
sees if it is a proper email or not
Submitted by
anonymous
-
13 hours ago
1
Any Unicode dash or its HTML escaped version
ECMAScript (JavaScript)
Match any of the weird dashes people figure out how to put in their data
Submitted by
anonymous
-
8 hours ago
(Last modified 8 hours ago)
2
MIME type verification
PCRE (PHP <7.3)
See http://tools.ietf.org/html/rfc2045#section-5.1
Submitted by
Erin Millard
-
12 years ago
2
js function test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
12 years ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
Split Date
PCRE (PHP <7.3)
no description available
Submitted by
Arun Kumar Sekar
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
1
...
854
855
856
857
858
...
901
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
^
(
https
?
:
\/\/
)?
(
www
.
)?
(
[
\d
a
-
zA
-
z
\_\-
]
+
)
\.
(
com
|
(
|
[
\d
a
-
zA
-
Z
]
{2,6}
)
)
(
[
\/
\w
\.\-\#\&\?\%\_
]
*
)?
(
[^
\/
|
|
\s
]
)
$
/
gmi
Open regex in editor
Description
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago