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 17,260 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Vietnamese Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Vietnamese Hashtags in a string
Submitted by
Akali
-
7 months ago
2023-02-27 04:54
(Last modified 7 months ago)
2023-02-27 06:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
commitlint gitmoji
ECMAScript (JavaScript)
commitlint to cz-emoji-conventional
Submitted by
anonymous
-
7 months ago
2023-02-26 00:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Photos18 Url Matcher
Python
A regex to match photos18 urls
Submitted by
anonymous
-
7 months ago
2023-02-25 18:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Hashtags and Links in a string
PCRE2 (PHP >=7.3)
Filter Hashtags and Links in a string
Submitted by
Akali
-
7 months ago
2023-02-25 08:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Links in a string
PCRE2 (PHP >=7.3)
Filter Links in a string
Submitted by
Akali
-
7 months ago
2023-02-25 08:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Hashtags in a string
PCRE2 (PHP >=7.3)
Filter Hashtags in a string
Submitted by
Akali
-
7 months ago
2023-02-25 08:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
vishnu
Python
log regex
Submitted by
vishnu kendre
-
7 months ago
2023-02-25 07:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match for equ
ECMAScript (JavaScript)
Matching for equation
Submitted by
anonymous
-
7 months ago
2023-02-24 23:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
idk
ECMAScript (JavaScript)
one
Submitted by
anonymous
-
7 months ago
2023-02-24 22:26
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
-
7 months ago
2023-02-24 19:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
letter-space-number.js
PCRE2 (PHP >=7.3)
Javascript piscine
Submitted by
erik044
-
7 months ago
2023-02-24 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex Tutorials CodeAmooz.net
PCRE2 (PHP >=7.3)
Regex Tutorials CodeAmooz.net
Submitted by
anonymous
-
7 months ago
2023-02-24 10:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
简单日志匹配
Java 8
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
7 months ago
2023-02-24 07:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
XTrim
PCRE2 (PHP >=7.3)
Remove spaces at the beginning and end of a sentence. It also replaces N consecutive spaces with a single one.
Submitted by
abrittaf
-
7 months ago
2023-02-24 01:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REGEX yt-dlp ID
PCRE2 (PHP >=7.3)
Get ID from plain text fromm yt-dlp
Submitted by
anonymous
-
7 months ago
2023-02-23 19:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
unit selector regex
PCRE2 (PHP >=7.3)
This regex can be used to select SI units of gallon, litres, kilograms, kilometres, pounds.
Submitted by
anonymous
-
7 months ago
2023-02-23 06:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get anything between parentheses
PCRE (PHP <7.3)
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
7 months ago
2023-02-23 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Function call capture group
Python
Function call capture group
Submitted by
anonymous
-
7 months ago
2023-02-23 02:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Javascript HTTP URL Validation
PCRE2 (PHP >=7.3)
Use to validate basic website URLs with or without http://. I took bits and pieces of other regexes I found and compiled into one that worked well for my purposes.
Submitted by
Daniel Ecker
-
7 months ago
2023-02-22 22:14
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
alluse
PCRE (PHP <7.3)
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
alluse
-
7 months ago
2023-02-22 18:30
1
...
33
34
35
36
37
38
39
...
863
fix plot histogram calls
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(
__Internal64
\.
PlotHistogram
(?:
2D
)?
(?:
_
\d
+
)?
\(
.
*
)
(
__arg
(?:
5
|
6
)
)
(
.
*
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 months ago
2022-12-30 03:13