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 11,400 community submitted regex patterns...
0
conditional lookahead (IF (pat1) or (pat2) THEN match (pat1) and/or (pat2) box
Python
Python does not support conditionals using lookaround, even though Python does support lookaround outside conditionals. (?(?=regex) then|else) is illegal in python (?=regex)then|(?!regex)else - this works. madness details in the test strings
Submitted by
PeteC
-
2 years ago
0
Email Validation
Python
It won't recognize if the local-part is just one character like t@somedomain.com
Submitted by
anonymous
-
2 years ago
0
single character v2?
Python
find any standalone, non-white space character
Submitted by
anonymous
-
2 years ago
0
gubas2549-knju@force.com
.NET 7.0 (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
2 years ago
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
2 years ago
0
Airtel Unlimited Plan
Python
Airtel Unlimited Plan
Submitted by
starkm42
-
2 years ago
0
List of email validation
.NET 7.0 (C#)
Validate a list of emails separated by a semicolon. Supports emails with accents and other alphabets. Valid email: Abc@example.com;Abc.123@example.com;user+mailbox/department=shipping@example.com;éüöä^0@émäil.côm !#$%&'*+-/=?^_`.{|}~@example.com;"Abc@def"@example.com;"Fred Bloggs"@example.com;"Joe.\...
Submitted by
Mib
-
2 years ago
0
Public
PCRE (PHP <7.3)
Public view for my collection
Submitted by
anonymous
-
2 years ago
0
NDC
.NET 7.0 (C#)
parses all valid NDC codes with or without hyphens
Submitted by
joe.cox@fortyau.com
-
2 years ago
0
Detect space kernel between characters
PCRE (PHP <7.3)
Detect space kernel between characters
Submitted by
anonymous
-
2 years ago
0
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Delete spaces at beginning or end of a string
PCRE (PHP <7.3)
Delete spaces at beginning or end of a string
Submitted by
anonymous
-
2 years ago
0
Remove Trailing Number
Python
Regex for the gvsbuild tool to remove a trailing number from a project name.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Migrate infoboxes in AWB: Music phase 1
.NET 7.0 (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 3
.NET 7.0 (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 2
.NET 7.0 (C#)
Remove deprecated parameters
Submitted by
anonymous
-
2 years ago
0
pens
Python
testing
Submitted by
anonymous
-
2 years ago
0
71871164
Python
Stack overflow example
Submitted by
anonymous
-
2 years ago
0
篩選MP Log Day
.NET 7.0 (C#)
篩選MP Log Day
Submitted by
anonymous
-
2 years ago
0
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
2 years ago
1
...
547
548
549
550
551
...
570
Alphanumeric only
2
Regular Expression
PCRE (PHP <7.3)
/
^
[
a
-
zA
-
Z0
-
9
]
+
$
/
Open regex in editor
Description
Allows only Uppercase, lowercase letters and numbers
Submitted by
anonymous
-
8 years ago