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 14,880 community submitted regex patterns...
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
Niledutch voyage regex
Python
s
Submitted by
anonymous
-
3 years ago
0
parse log file for message type, message, ticket number and user
Python
for the Google interacting with the OS course final project on Coursera
Submitted by
anonymous
-
3 years ago
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
LUXOMS [DOMOTICA] : retrieve 'elements' - S - switch
Python
LUXOMS [DOMOTICA] : 'elements' - S - switch In the LUXOM configuration there are just a few number of fields to use. Therefor by using an certain syntax, to add more features and possibilities to extract later by regular expression. ...
Submitted by
anonymous
-
3 years ago
0
Practice email validation
ECMAScript (JavaScript)
Solves the practice problem from https://www.sitepoint.com/learn-regex/
Submitted by
Nhi Mai-Do
-
3 years ago
0
telephone validator from FCC
ECMAScript (JavaScript)
passes freecodecamp's telephone validator
Submitted by
anonymous
-
3 years ago
0
Verify Cambodian mobile phone number(柬埔寨手机号码正则)
PCRE (PHP <7.3)
国家:Cambodia 中文名称:柬埔寨 区域码:+855 手机号位数:8或9 号段:10-18 其他号段:31、38、60、61、66-71、76-78、80、81、83-89、90-93、95-99...
Submitted by
7kk
-
3 years ago
0
Verify Indian mobile number(印度手机号码正则)
PCRE (PHP <7.3)
国家:India 中文名称:印度 区域码:+91 手机号位数:10 号段:7503、7504、8000、900 eg:+91 9001234567
Submitted by
7kk
-
3 years ago
0
senegal phone number regex
ECMAScript (JavaScript)
Check if the phone number is correct from sénégal
Submitted by
Me
-
3 years ago
0
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
ECMAScript (JavaScript)
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
3 years ago
1
Python-Dunder-Underscore
Python
Python Dunder Underscore Regular Expression Match coding=utf8 the above tag defines encoding for this document and is for Python 2.x compatibility...
Submitted by
Jacob B. Sanders
-
3 years ago
0
valid time check
Python
written as a part of the Coursera interacting with the OS course offered via Google
Submitted by
anonymous
-
3 years ago
0
Singapore UEN
PCRE (PHP <7.3)
Should match all valid UENs but doesn't check Entity Type is valid. Based on: https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx
Submitted by
Harry Gordon
-
3 years ago
(Last modified 3 years ago)
0
identify pseudocode do while until loop
PCRE (PHP <7.3)
identify pseudocode do while until loop
Submitted by
anonymous
-
3 years ago
0
test
Python
test
Submitted by
test
-
3 years ago
0
Phone number
ECMAScript (JavaScript)
Regex phone number
Submitted by
Duy
-
3 years ago
1
...
82
83
84
85
86
...
744
German vehicle registration incl. options
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
A
-
ZäÄÖÜ
]
{1,3}
)
\-
[
]
{0,1}
(
[
A
-
Z
]
{0,2}
)
[
]
{0,1}
(
[
0
-
9
]
{1,4}
[
HE
]
{0,1}
)
[
]
{0,1}
(
[
0
-
9
]
{0,2}
)
[
]
{0,1}
(
[
0
-
9
]
{0,2}
)
$
/
gm
Open regex in editor
Description
This regex validates German vehicle registration numbers. It includes 'H' for Oldtimers (Historic) and 'E' for electric. Futhermore it validates optional seasonal plates. For example for motorcycles or recreational vehicles.
Submitted by
awwillia
-
3 years ago