Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 320 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Guid parser
.NET (C#)
Guid parser
Submitted by
anonymous
-
a year ago
2022-07-11 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
XAML invert Grid.Column and Grid.Row to Grid.Row and Grid.Column
.NET (C#)
Inverts the 2 attributes
Submitted by
anonymous
-
a year ago
2022-07-12 10:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FullName_regex
Java 8
2135
Submitted by
anonymous
-
a year ago
2022-07-14 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cron Syntax
Java 8
This checks the syntax for CRON
Submitted by
Till Hummel
-
a year ago
2022-07-18 13:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bangladeshi Mobile and Telephone Number
Java 8
Matches with Bangladeshi Mobile and Telephone Numbers
Submitted by
kaziNAHIAN
-
a year ago
2022-07-21 10:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO 8601:2004E Duration
.NET (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
a year ago
2022-08-02 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
a year ago
2022-08-03 20:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
a year ago
2022-08-05 19:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK PostCode Validation
.NET (C#)
Flexible postcode validation with or without space as outlined here, but added optional space for flexibility https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/488478/Bulk_Data_Transfer_-_additional_validation_valid_from_12_November_2015.pdf
Submitted by
anonymous
-
a year ago
2022-08-06 16:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
取字母中间的数字
Java 8
获取前后各有一个数字,中间的数字
Submitted by
lemon 1900
-
a year ago
2022-08-08 02:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URLs and Emails RegEx
.NET (C#)
A neat regular expression to extract web urls and emails from a paragraph or a text stream.
Submitted by
kosalanuwan
-
a year ago
2022-08-08 16:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REGEX OS
Java 8
Regex para extrair titulo e descrição duma OS
Submitted by
anonymous
-
a year ago
2022-08-11 21:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - no digits allowed - Upto 3 upper case letters
.NET (C#)
To be proper camel case a word with no digits allowed and upto 3 upper case letters, a word: Must start with a lower case alphabet (a through z) Must have no digits (0 - 9) MUST have no spaces, punctuation or special characters Can have at most 3 uppercase alphabets in a row Can end in an uppercase ...
Submitted by
anonymous
-
a year ago
2022-08-12 21:13
(Last modified a year ago)
2022-08-12 21:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - digits allowed - Upto 3 upper case letters
.NET (C#)
Camel Case - digits allowed - Upto 3 upper case letters To be proper camel case a word with digits allowed and upto 3 upper case letters, a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 3 uppercase alphabets in a ro...
Submitted by
anonymous
-
a year ago
2022-08-12 21:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negative lookbehind
.NET (C#)
There is not word boundary between the >< and as there seem to be at least 1 or more uppercase characters, then quantifier can be + to match 1 or more times. If you don't want to split at the start of the string, creating an empty entry in the result list, you can assert using a negative lookbehind ...
Submitted by
anonymous
-
a year ago
2022-08-15 20:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Username regex
.NET (C#)
Matches alphanumeric, @, . , -
Submitted by
Ethan Pedersen
-
a year ago
2022-08-16 16:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sanitize CSV Export Expression for regex.replace (this regex) with empty string
.NET (C#)
see owasp recommendation for things to remove from a csv export. this expression matches on following characters [. , ; + = - @ ' "] also carriage return make sure to clear strings for whitespace and choose your preferred methods for additional security from the examples in the owasp documentation...
Submitted by
anonymous
-
a year ago
2022-08-18 16:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sdfsfd
.NET (C#)
sdfdsf
Submitted by
anonymous
-
a year ago
2022-08-18 16:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Key - Value extractor
Java 8
Key - Value extractor
Submitted by
anonymous
-
a year ago
2022-08-19 19:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Inner field values extraction
Java 8
Inner field values extraction
Submitted by
anonymous
-
a year ago
2022-08-20 10:40
1
...
7
8
9
10
11
12
13
...
16
ip address
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
(
[
01
]
?
\d\d
?
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
"
Open regex in editor
Description
Loading markdown...
Submitted by
shyam
-
9 months ago
2023-03-13 14:07