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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,920 community submitted regex patterns...
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
1
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
a year ago
0
Extract email from - Add "email"
ECMAScript (JavaScript)
Replace Add "xyz@abc.com" with xyz@abc.com
Submitted by
anonymous
-
a year ago
0
Email address supporting plus addressing and multiple subdomains.
ECMAScript (JavaScript)
This expression follows the rules displayed at https://knowledge.validity.com/hc/en-us/articles/220560587-What-are-the-rules-for-email-address-syntax-. Note that their rules DO NOT exactly match those of the applicable RFC 5322 (sections 3.2.3 and 3.4.1) and RFC 5321, but rather supports a pattern ...
Submitted by
Eric Bewley
-
a year ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
a year ago
0
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
a year ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
a year ago
0
S3 AWS Bucket Matcher
ECMAScript (JavaScript)
This matcher follows the rules given at https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html for legal s3 bucket names (the segment before the first slash if any)
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
All Phone Number in VietNam in a real project
ECMAScript (JavaScript)
This is data from many years and my boss want me to extract all the number in spreadsheet, it's about 14,000 records
Submitted by
Le Nam Son
-
a year ago
3
Caltrans EA validation with optional XX-XXXXXX entry and C##-#????#
.NET 7.0 (C#)
Checks validity of an EA number first two digits 01-12 followed by hyphen then a number from 0-4 and then 4 numbers or uppercase letters and ending in a 1 or 4 for example "05-1J7601". Adding a capital C to the beginning is also accepted "C05-1J7601", along with the entry of 2 X's hyphen and 6 X's ...
Submitted by
RDJ@Ct
-
a year ago
(Last modified a year ago)
1
Check Windows file name
.NET 7.0 (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
a year ago
0
section headers
Java 8
ff
Submitted by
ff
-
a year ago
0
IBAN
ECMAScript (JavaScript)
desc
Submitted by
anonymous
-
a year ago
0
awdwa
Java 8
dwa
Submitted by
dwa
-
a year ago
1
json value extract
Java 8
json value extract
Submitted by
anonymous
-
a year ago
0
Classification Matcher
ECMAScript (JavaScript)
Classification Matcher
Submitted by
anonymous
-
a year ago
1
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
a year ago
1
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
a year ago
1
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
a year ago
1
...
9
10
11
12
13
...
196
city regex opposite
0
Regular Expression
ECMAScript (JavaScript)
/
(
(?!
[
a
-
zA
-
ZÀ
-
ž
\d\s
\.
,'&/-
]
)
.
)
/
gm
Open regex in editor
Description
Do the opposite so we can test for invalid characters
Submitted by
anonymous
-
a year ago