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,900 community submitted regex patterns...
0
dmidecode parse
Python
Used to match all parts of output from dmidecode.
Submitted by
Paddy3118
-
a year ago
0
date format
ECMAScript (JavaScript)
relative date format
Submitted by
anonymous
-
a year ago
0
FG – VIP details extraction
Python
FG – Extract details of each VIP address from VIP addresses configuration block
Submitted by
anonymous
-
a year ago
0
match non-english number beside @
ECMAScript (JavaScript)
im looking for way to much the above title, in reliable way
Submitted by
perymimon
-
a year ago
0
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support all kinds of umlauts.
Submitted by
anonymous
-
a year ago
0
12 digit mobile number regex
Python
The regex matches for national or international phone number of up to 15 digits if it includes the country code
Submitted by
anonymous
-
a year ago
(Last modified 9 months ago)
0
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
a year ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
a year ago
0
US Stock Exchange symbols
Python
Regex for Telegram Bot
Submitted by
Lucas Zurverra
-
a year ago
0
Superscript symbols and numbers in HTML only where valid.
ECMAScript (JavaScript)
Superscript most symbols and numbers in HTML, but not in actual HTML tags where they also may appear but would create invalid HTML.
Submitted by
Colin Whelan
-
a year ago
0
Test molecule coverage
Python
Regex to test covered tests
Submitted by
Florian Toulemont
-
a year ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note:...
Submitted by
Edward Rush
-
a year ago
0
parse sqf defines
Python
parsing armas sqf preprocessor defines
Submitted by
anonymous
-
a year ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
a year ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
a year ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
a year ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
a year ago
0
remove any salutation like mr. mrs Dr. etc from the beginning of the name
ECMAScript (JavaScript)
remove any salutation like mr. mrs Dr. etc from the beginning of the name
Submitted by
prax
-
a year ago
0
amazIng regex
PCRE (PHP <7.3)
super
Submitted by
anonymous
-
a year ago
0
CSV Parsing one by one value including \n
ECMAScript (JavaScript)
CSV Parsing one by one value including \n
Submitted by
Dirk Holtwick
-
a year ago
1
...
725
726
727
728
729
...
745
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago