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,400 community submitted regex patterns...
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Force email address
ECMAScript (JavaScript)
Force email address
Submitted by
anonymous
-
8 months ago
2023-03-27 09:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pxc plcnext
Golang
plcnext version strings
Submitted by
anonymous
-
8 months ago
2023-03-27 07:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
10.*.*.X IP Adress
Python
An expression to match 10.\.\.X IP Addresses. Examples 10.10.10.2 10.0.0.5...
Submitted by
meowmeow
-
8 months ago
2023-03-27 02:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
NRAudit Description
PCRE2 (PHP >=7.3)
Pulls out action verbs, emails and usertypes
Submitted by
anonymous
-
8 months ago
2023-03-24 20:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
selecting only the text after the final hyphen in a string
PCRE2 (PHP >=7.3)
selecting only the text after the final hyphen in a string
Submitted by
Dave Curtis
-
8 months ago
2023-03-24 19:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Other segment
Java 8
Other segments
Submitted by
Lufram
-
8 months ago
2023-03-24 13:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
8 months ago
2023-03-24 13:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex Card Name - Custom
.NET (C#)
custom validation for card name with custom validation. only allow these characters Alphanumeric (A-Z a-z0-9) Special Characters (#&+()/)
Submitted by
anonymous
-
8 months ago
2023-03-24 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Amazon Route53 Name Servers
PCRE2 (PHP >=7.3)
Match Amazon Route53 Name Servers
Submitted by
anonymous
-
8 months ago
2023-03-24 05:31
1
...
33
34
35
36
37
38
39
...
870
alluse
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(?P<major>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<minor>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<patch>
0
|
[
1
-
9
]
\d
*
)
(?:
-
(?P<prerelease>
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
(?:
\.
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
)*
)
)?
(?:
\+
(?P<buildmetadata>
[
0
-
9a
-
zA
-
Z-
]
+
(?:
\.
[
0
-
9a
-
zA
-
Z-
]
+
)*
)
)?
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
alluse
-
9 months ago
2023-02-22 18:30