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,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Name with propositions surnames
PCRE2 (PHP >=7.3)
An expression to get nouns by grouping prepositions with surnames
Submitted by
maurocsjr@gmail.com
-
8 months ago
2023-03-30 11:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract postcode and city
PCRE2 (PHP >=7.3)
Extract postcode and city when both are combined
Submitted by
anonymous
-
8 months ago
2023-03-30 09:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Whatsapp timestamp remover
PCRE2 (PHP >=7.3)
Write regex to remove anything in between [12:58, 30/03/2023] Bharadwaj Giridhar from inboxpirates.net:
Submitted by
Chatgpt
-
8 months ago
2023-03-30 09:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Reverse list of ASN.1 OIDs/Short Names/Long Names for X.509 certificates under OpenSSL
PCRE (PHP <7.3)
OIDs are just numbers in the format 1.2.3.4.5.6.7.8.9... Short names are alphanumeric, contiguous descriptions (no spaces, hyphens allowed) Long names can be basically everything (sometimes even UTF-8!) Sometimes, organisations providing the list of 'their' OIDs might reverse the order, for listing...
Submitted by
Gwyneth Llewelyn
-
8 months ago
2023-03-29 16:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Classification Matcher
ECMAScript (JavaScript)
Classification Matcher
Submitted by
anonymous
-
8 months ago
2023-03-29 15:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse XML element parts
PCRE2 (PHP >=7.3)
Parse XML element parts
Submitted by
emadhusameldeen@gmail.com
-
8 months ago
2023-03-29 14:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pattern to parse all XML node children
PCRE2 (PHP >=7.3)
Pattern to parse all XML node children
Submitted by
emadhusameldeen@gmail.com
-
8 months ago
2023-03-29 14:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RTTU Pharsing
ECMAScript (JavaScript)
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
8 months ago
2023-03-29 12:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Gene ID from GTF Attributes
PCRE2 (PHP >=7.3)
As the title says, duh...
Submitted by
anonymous
-
8 months ago
2023-03-29 10:19
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)
All versions prior to 3.1.17
PCRE2 (PHP >=7.3)
Should show all semantic versions up to but not including 3.1.17
Submitted by
anonymous
-
8 months ago
2023-03-28 11:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match the id of linkedin url
PCRE2 (PHP >=7.3)
match the id of LinkedIn URL
Submitted by
goldentwon
-
8 months ago
2023-03-28 10:02
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)
Headers
PCRE2 (PHP >=7.3)
Headers
Submitted by
anonymous
-
8 months ago
2023-03-28 07:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Išrinkite visus žodžius, prasidedančius viena didžiąja raide.
PCRE2 (PHP >=7.3)
Buveinės adresas: Konstitucijos pr. 20A, 03502 Vilnius Telefonai: 1884 arba +370 5 268 4444 (Privatiems klientams) 1633 arba +370 5 268 4422 (Verslo klientams) Faksas: (8 5) 258 2700 El. paštas: info@swedbank.lt...
Submitted by
anonymous
-
8 months ago
2023-03-28 07:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email finder
Java 8
Matches with the valid email addresses.
Submitted by
anonymous
-
8 months ago
2023-03-27 23:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Example 1
PCRE2 (PHP >=7.3)
Example
Submitted by
anonymous
-
8 months ago
2023-03-27 16:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Finnish SSN (2023 update)
ECMAScript (JavaScript)
Finnish SSN that supports the new intermediate characters that were added on 1.1.2023. Source for the new intermediate characters: https://dvv.fi/hetu-uudistus (in Finnish) https://dvv.fi/en/reform-of-personal-identity-code (in English)
Submitted by
mpeltola
-
8 months ago
2023-03-27 10:24
1
...
33
34
35
36
37
38
39
...
871
Get ip address (only ipv4) Validator
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
.NET (C#)
@"
(?:
(?:
[
a
-
f0
-
9
]
*
)?
:
){1,7}
[
a
-
f0
-
9
]
*
|
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
"
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
Mr.Tang
-
9 months ago
2023-02-21 12:10
(Last modified 9 months ago)
2023-02-21 12:15