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,260 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OCP typedef name
Python
Match to ocpCamelCase Name[Ptr]
Submitted by
Xiaoxing Cheng
-
9 months ago
2022-12-18 03:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Fraction to decimal
Python
Convert fractions in for of 7 1/2 or 7-1/2 with optional spacing to 7.5 avoiding expressions like 5-7 / 10-11 to be mistaken as 5-7/10
Submitted by
Waleed Kilany
-
9 months ago
2022-12-16 12:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Conventional Commits RegEx
Python
This RegEx can be used to check whether a string (usually a commit message) matches the structure specified in the conventional commits specification and it allows to retrieve the sections of the structure via. named groups. The groups are the following: (? means, that this can be empty/nullable) ...
Submitted by
mccoderpy
-
9 months ago
2022-12-15 14:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
netstat
Python
Активные соединения
Submitted by
anonymous
-
9 months ago
2022-12-11 20:05
(Last modified 9 months ago)
2022-12-12 09:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Driverquery
Python
Установленные драйвера
Submitted by
anonymous
-
9 months ago
2022-12-11 19:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Assoc
Python
Разбивает вывод команды Assoc
Submitted by
anonymous
-
9 months ago
2022-12-11 18:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
parsing arp -a
Python
Разбивает на части вывод команды arp -a
Submitted by
baldateg
-
9 months ago
2022-12-11 18:37
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
-
9 months 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
-
9 months ago
2022-12-09 13:08
(Last modified 9 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months 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
-
10 months ago
2022-11-17 09:23
(Last modified 2 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
-
10 months 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
-
10 months ago
2022-11-13 16:35
1
...
6
7
8
9
10
11
12
...
113
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