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)
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
-
7 months ago
2023-04-13 13:21
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Caltrans EA validation with optional XX-XXXXXX entry and C##-#????#
.NET (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
-
8 months ago
2023-04-07 19:11
(Last modified 8 months ago)
2023-04-07 19:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check Windows file name
.NET (C#)
Verifying Windows file names (without suffix)
Submitted by
anonymous
-
8 months ago
2023-04-06 01:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
section headers
Java 8
ff
Submitted by
ff
-
8 months ago
2023-04-05 23:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
awdwa
Java 8
dwa
Submitted by
dwa
-
8 months ago
2023-04-05 06:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
json value extract
Java 8
json value extract
Submitted by
anonymous
-
8 months ago
2023-04-01 02:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
8 months ago
2023-03-27 23:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Other segment
Java 8
Other segments
Submitted by
Lufram
-
8 months ago
2023-03-24 13:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
8 months ago
2023-03-24 13:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex Card Name - Custom
.NET (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
8 months ago
2023-03-24 08:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Лямбды для OneScript
.NET (C#)
лямбды для проекта https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
8 months ago
2023-03-23 12:32
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Aus Mobile number
.NET (C#)
validates against multiple common formats
Submitted by
anonymous
-
8 months ago
2023-03-20 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
8 months ago
2023-03-19 17:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tas-branch-validation
Java 8
tas-branch-validation
Submitted by
doron-hafner
-
8 months ago
2023-03-16 10:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Replace ^ with Math.pow function. Not made to work with braces.
Java 8
Replaces ^ with Math.pow function call. This assumes all braces have been combined first. If you need help with the combination, I got you—try this Python algorithm: def evaluate_braces(expr): """Recursively evaluate expressions within braces""" Check if expression contains braces if '(' in...
Submitted by
Glitchii - https://github.com/Glitchii
-
8 months ago
2023-03-15 22:00
(Last modified 8 months ago)
2023-03-15 22:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ip address
Java 8
ip address regex
Submitted by
shyam
-
9 months ago
2023-03-13 14:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Titulo da expressao
Java 8
\w
Submitted by
anonymous
-
9 months ago
2023-03-08 03:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Database datatype check
Java 8
Database data type determination and extraction. Example: varchar(20) varchar2(20) number(20,3) timestamp...
Submitted by
anonymous
-
9 months ago
2023-03-06 08:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Java 8
test
Submitted by
anonymous
-
9 months ago
2023-03-02 05:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid date (DD-MM-YYYY) from 1900 to 2099
Java 8
Valid date (DD-MM-YYYY) from 1900 to 2099
Submitted by
Nevix-Sama
-
9 months ago
2023-02-24 19:28
1
2
3
4
5
6
...
16
test everything
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
[
(?<=
[
-|.|,
]
)
\d
]
+
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-04-23 00:40