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 2,180 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
auto-gpt capture command
Python
auto-gpt capture command
Submitted by
anonymous
-
8 months ago
2023-04-19 00:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
trimming whitespaces from the beginning and from the end
Python
trimming whitespaces from the beginning and from the end
Submitted by
anonymous
-
8 months ago
2023-04-18 12:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IWANTOUT
Python
IWANOUT
Submitted by
anonymous
-
8 months ago
2023-04-14 19:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL
Python
Regex de URL
Submitted by
anonymous
-
8 months ago
2023-04-14 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email finder
Python
Find emails in a string.
Submitted by
anonymous
-
8 months ago
2023-04-13 07:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number finder
Python
Finds a phone number.
Submitted by
anonymous
-
8 months ago
2023-04-13 07:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Correct Answers
Python
Gets correct answers from Moodle test printed as PDF from browser (right now only spanish language)
Submitted by
anonymous
-
8 months ago
2023-04-12 20:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Questions & Answers
Python
Gets questions and answers from Moodle test printed as PDF from browser (right now only spanish language)
Submitted by
anonymous
-
8 months ago
2023-04-12 20:36
(Last modified 8 months ago)
2023-04-12 21:15
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
regex to check for buffer printing
Python
This regex checks if c/c++ code contains char buffer that is later printed.
Submitted by
tagoras
-
8 months ago
2023-04-11 11:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AWS EC2 CDK Machine
Python
Validates if a string is a ec2 machine valid instance type.
Submitted by
https://github.com/DEADSEC-SECURITY
-
8 months ago
2023-04-10 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Dagger exception parsing
Python
https://github.com/dagger/dagger/issues/4706#issuecomment-1498009538
Submitted by
anonymous
-
8 months ago
2023-04-08 16:20
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cep Brazil
Python
Brazilian zip code verification, with 8 digits separated or not by -
Submitted by
anonymous
-
8 months ago
2023-04-06 20:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cisco_interface_back
Python
\D+([0-9]/[0-9]|.)\s+(\d+\.\d+\.\d+\.\d+|unngiged)\s+(YES|NO)\s+\D{4,}\s+[A-Za-z]{2,}\s+[A-Za-z]{2,}\s+
Submitted by
anonymous
-
8 months ago
2023-04-06 09:55
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)
Roman numerals check
Python
It is used to check if the roman number is valid
Submitted by
JNg
-
8 months ago
2023-03-29 06:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bespoke NGINX Log Parse
Python
Splits NGINX logs into named groups
Submitted by
Simon
-
8 months ago
2023-03-28 18:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lietuviškas tekstas
Python
Išrinkite visus žodžius, kurie yra iš visų didžiųjų raidžių (PVM, SWIFT, HABALT22)
Submitted by
anonymous
-
8 months ago
2023-03-28 08:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Lietuviškas tekstas
Python
Šis šablonas parenka visas žodžių raides, kurios prasideda viena didžiąja raide, turi bent vieną didžiąją raidę ar skaičių, bet gali turėti daugiau mažųjų raidžių ar skaičių, ir gali būti atskirtos tarpo simboliu.
Submitted by
anonymous
-
8 months ago
2023-03-28 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
10.*.*.X IP Adress
Python
An expression to match 10.\.\.X IP Addresses. Examples 10.10.10.2 10.0.0.5...
Submitted by
meowmeow
-
8 months ago
2023-03-27 02:42
1
2
3
4
5
6
7
8
...
109
Username regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
^
[
a
-
zA
-
Z0
-
9@
\-\.
]
*
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Ethan Pedersen
-
a year ago
2022-08-16 16:34