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 5,960 community submitted regex patterns...
1
Function creation in LScript
ECMAScript (JavaScript)
RegEx for finding creation of a function in LScript programming language
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Function argument in LScript
ECMAScript (JavaScript)
RegEx for finding each argument when creating a function in LScript programming language
Submitted by
anonymous
-
a year ago
1
get-time
PCRE2 (PHP >=7.3)
The get-time regex checks for the time format of a 12-hour clock, as follows: the hour is between 1 and 12, with no leading zero, followed by a colon, then minutes between 00 and 59, then an optional space, and then AM or PM, in upper or lower case
Submitted by
Ahmed Ibrahim
-
a year ago
1
Filtering Log Files with Regular Expressions
PCRE2 (PHP >=7.3)
We're using the same syslog, and we want to display the date, time, and process id that's inside the square brackets. We can read each line of the syslog and pass the contents to the show_time_of_pid function. Fill in the gaps to extract the date, time, and process id from the passed line, and retur...
Submitted by
anonymous
-
a year ago
1
URL Parts Extractor
ECMAScript (JavaScript)
Extracts parts of an URL into regex groups: ((?:(?:http|ftp|ws)s?|sftp):\/\/?)?(group 1): extracts the protocol (+\.+|localhost)(group 2): extracts the hostname (:\d+)?(group 3): extracts the port number ((?:\/\w+)\/)?([\w\-.]++)?(groups 4 & 5)*: extracts the path part (+)?(group 6): extracts the qu...
Submitted by
Elie Grenon (elie-g)
-
a year ago
1
Timestamps
ECMAScript (JavaScript)
Recognizes timestamps with the technical timestamp format.
Submitted by
Alejandro, Andreu
-
a year ago
(Last modified a year ago)
1
Matching CSS Properties
ECMAScript (JavaScript)
CSS Properties
Submitted by
Luidenka
-
a year ago
1
Email with special characters
ECMAScript (JavaScript)
Built using this specification
Submitted by
studium-inexorabile
-
a year ago
1
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support umlauts.
Submitted by
StephanGeorg
-
a year ago
1
Uzbekistan passport regex
PCRE2 (PHP >=7.3)
Uzbekistan passport regex
Submitted by
Elbek Khamdullaev (elbek.me)
-
a year ago
1
Decimal digit with some text pattern at the end.
PCRE2 (PHP >=7.3)
[0-9]+\.?[0-9,]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM)(?:\/?[0-9]+\.?[0-9]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM))?
Submitted by
anonymous
-
a year ago
1
Mobile Number (with country code)
PCRE2 (PHP >=7.3)
Basic Regex to validate mobile numbers, with country code
Submitted by
Ashutosh Mishra
-
a year ago
1
uzbekistan phone number
PCRE2 (PHP >=7.3)
uzbekistan phone number
Submitted by
Elbek Khamdullaev
-
a year ago
1
match domain, but not www
PCRE2 (PHP >=7.3)
matches domains with or without www, does not include www
Submitted by
anonymous
-
a year ago
1
dante config
PCRE2 (PHP >=7.3)
generates dante config based on domains
Submitted by
anonymous
-
a year ago
1
Select songs starting with 3+ numbers but not 1|2
PCRE2 (PHP >=7.3)
Select songs starting with odd numbers like 3+ numbers(001 - song.mp3, 000004 - song.mp3), but not simple ones 1|2 like (01 - song.opus or 1 - song.mp3) : 01 - The Black Eyed Peas - The Time (Dirty Bit).opus 0000000 - Nelly Furtado - Say It Right.mp3 ...
Submitted by
anonymous
-
a year ago
1
capitalAfterVowel
PCRE2 (PHP >=7.3)
Given a string, make every consonant after a vowel uppercase.
Submitted by
anonymous
-
a year ago
1
Match last repetition and remove it
ECMAScript (JavaScript)
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
a year ago
1
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
PCRE2 (PHP >=7.3)
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
Submitted by
anonymous
-
a year ago
1
Unfallversicherung Unternehmensnummer (UNR.S)
PCRE2 (PHP >=7.3)
Unfallversicherung Unternehmensnummer (UNR.S) Dieser reguläre Ausdruck prüft, ob eine mögliche syntaktisch richtige Unternehmensnummer (UNR.S) vorliegt. Eine Unternehmensnummer je Unternehmen ersetzt ab dem 01.01.2023 die vielen Systeme von Mitgliedsnummern bei Berufsgenossenschaften, der Sozialve...
Submitted by
Benjamin Butschko (LOHNunion GmbH)
-
a year ago
1
...
74
75
76
77
78
...
298
TX7470 and RX1
0
Regular Expression
ECMAScript (JavaScript)
/
\x19
A
(
\d
*
)
d
\[
?
(
\d
*
)?
\]
?
(
.
*
)
-
(
\S
+
)
\s
(
\d
+
)
\x0C
?
(
.
*
)?
\x18
|
\x19
A
(
\d
*
)
d
(
\S
*
)
\s
?
(
\d
*
)
\:
?
(
.
*
)
\x18
|
RECV,4,
(
\d
*
)
,
\[
?
(
\d
*
)?
\]
?
(
.
*
)
-
(
\S
+
)
\s
(
\d
+
)
\%
?
0
?
C
?
(
.
*
)?
|
RECV,4,
(
\d
*
)
,
(
\S
*
)
\s
?
(
\d
*
)
\:
?
(
.
*
)
\s
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago