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,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
a year ago
2022-12-09 13:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
a year ago
2022-12-09 13:08
(Last modified a year ago)
2022-12-09 13:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
matching the end integer at the end of a command and capture the integer
Python
trig:seq:lev\s+([+-]?\d+)
Submitted by
anonymous
-
a year ago
2022-12-06 14:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apdl flst
Python
apdl flst
Submitted by
anonymous
-
a year ago
2022-12-05 02:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
check strinf begin with a word
Python
you can change the word that you want to check begins within the string by changing the "test" word in the regex
Submitted by
jumma
-
a year ago
2022-12-04 10:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ipv4 addresses
Python
Valid ip addreses
Submitted by
anonymous
-
a year ago
2022-12-01 17:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
super regex
Golang
Get every word ending with dot using Regex/VBA
Submitted by
anonymous
-
a year ago
2022-11-26 10:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
parse sqf defines
Python
parsing armas sqf preprocessor defines
Submitted by
anonymous
-
a year ago
2022-11-20 17:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test molecule coverage
Python
Regex to test covered tests
Submitted by
Florian Toulemont
-
a year ago
2022-11-19 00:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Stock Exchange symbols
Python
Regex for Telegram Bot
Submitted by
Lucas Zurverra
-
a year ago
2022-11-18 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
12 digit mobile number regex
Python
The regex matches for national or international phone number of up to 15 digits if it includes the country code
Submitted by
anonymous
-
a year ago
2022-11-17 09:23
(Last modified 4 months ago)
2023-07-19 10:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
FG – VIP details extraction
Python
FG – Extract details of each VIP address from VIP addresses configuration block
Submitted by
anonymous
-
a year ago
2022-11-15 12:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
dmidecode parse
Python
Used to match all parts of output from dmidecode.
Submitted by
Paddy3118
-
a year ago
2022-11-13 16:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get everything between two characters
Python
Get everything between two characters
Submitted by
Danarvelini
-
a year ago
2022-11-12 01:11
(Last modified a year ago)
2022-11-12 01:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Terraform Service Name
Golang
Useful for validating services in TF
Submitted by
Nick Zaccardi
-
a year ago
2022-11-10 23:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
currencies Question
Python
怎么在匹配 30p, 500m时,不会匹配到文章中的年份和百分比数字
Submitted by
anonymous
-
a year ago
2022-11-09 23:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Audio and Video files
Python
Match *audio *and *video *files in python
Submitted by
anonymous
-
a year ago
2022-11-09 13:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
audiomack
Python
valid url test for audiomack website
Submitted by
Abdullah Ibn Fulan
-
a year ago
2022-11-09 09:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Graphql parser for pretty printing
Python
Parse Graphql queries Changelog (versions): Initial Version 2 is much improved and intended to integrate well with customized highlighting with the help of the awesome Rich library....
Submitted by
iwconfig
-
a year ago
2022-10-29 15:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse AWS RDS Releases
Python
Parse AWS RDS Releases
Submitted by
anonymous
-
a year ago
2022-10-28 20:33
1
...
7
8
9
10
11
12
13
...
114
Regex for C-style assignments
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
(
(
(
(?P<Keys>
dword
|
word
|
byte
|
int
)
[
\n\t
]
+
)
(
(?P<Names>
[
a
-
zA
-
Z0
-
9
_
\-\$
]
+
)
)
)
(
(
\[
(?P<Range>
[
a
-
zA
-
Z0
-
9
\t\n
]
+
)
\]
[
\t\n
]
+
)
|
(?P<Pointer>
[
*
\t\n
]
+
)
|)
(
(
=
[
\n\t
]
+
)
(
[
&*"a
-
zA
-
Z0
-
9
]
+
)
)
(
;
)
)
|
(
(
(?P<Others>
int
|
string
|
word
)
[
\t\n
]
+
)
(
[
a
-
zA
-
Z0
-
9
\n\t
]
+
)
(
;
)
)
`
g
Open regex in editor
Description
Loading markdown...
Submitted by
cemares
-
6 years ago
2018-01-07 22:20