Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
CSS @import statement
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
jiggl
toggl track to jira
Submitted by
anonymous
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Regex para Versión de Software
Aún está pendiente que detecte ciertas versiones, como cuando trae la fecha o el 32/64 bits, build X, entre otros ejemplos
Submitted by
anonymous
-
2 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Password validation
Password requirements: Contains at least one uppercase letter. Contains at least one lowercase letter. Contains at least one digit. Does not contain any whitespace characters. Has a minimum length of 8 characters.
Submitted by
anonymous
-
3 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Redis command parser
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
3 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
IPv4-CIDR
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
3 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
fcc-title-case-a-sentence
a regex to find first letter of each word
Submitted by
anonymous
-
4 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Official Emeil validation Regex
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
7 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Valid HTTP url
Matches in python valid urls (excludes some edge cases), but pretty good to verify an URL before scraping it
Submitted by
anonymous
-
8 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
匹配中文数字,用于逆向文本标准化
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
8 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
chit_kaung_song_names
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Author cite
Get author names from shitty import
Submitted by
anonymous
-
9 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Laughter
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
12 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Egyptian Phone Numbers
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
12 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
Egyptian National ID
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
12 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
string substitution in bash behaving differently from PCRE(PHP<7.3>
question about bash not returning expected results, the same result as this saved regex returns here
Submitted by
anonymous
-
12 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
shift_factor
extracting constraint id from composed column header
Submitted by
Dario Romero
-
13 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
match eslint packages other than next.js
This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wi...
Submitted by
Mitsunee
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
List of lists of numbers (no leading zeros)
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
13 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
strip host port
removes port number from URL
Submitted by
pc
-
13 days ago
1
2
3
4
...
741
10.*.*.X IP Adress
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
python
r"
10
\.
\d
+
\.
\d
+
\.
\d$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
meowmeow
- 2 months ago