Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Uzbekistan passport regex
Uzbekistan passport regex
Submitted by
Elbek Khamdullaev (elbek.me)
-
6 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Decimal digit with some text pattern at the end.
[0-9]+\.?[0-9,]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM)(?:\/?[0-9]+\.?[0-9]* ?(?:UI|IU|MCG|G|I.U|I.U.|MG|ML|GM))?
Submitted by
anonymous
-
6 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Mobile Number (with country code)
Basic Regex to validate mobile numbers, with country code
Submitted by
Ashutosh Mishra
-
6 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
uzbekistan phone number
uzbekistan phone number
Submitted by
Elbek Khamdullaev
-
6 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Select songs starting with 3+ numbers but not 1|2
Select songs starting with odd numbers like 3+ numbers(001 - song.mp3, 000004 - song.mp3), but not simple ones 1|2 like (01 - song.opus or 1 - song.mp3) : 01 - The Black Eyed Peas - The Time (Dirty Bit).opus 0000000 - Nelly Furtado - Say It Right.mp3 ...
Submitted by
anonymous
-
5 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
capitalAfterVowel
Given a string, make every consonant after a vowel uppercase.
Submitted by
anonymous
-
5 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Match last repetition and remove it
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
5 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
[\p{Sc}\p{So}\p{Mn}\p{P}\p{Z}À-ÿ]
Submitted by
anonymous
-
5 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Unfallversicherung Unternehmensnummer (UNR.S)
Unfallversicherung Unternehmensnummer (UNR.S) Dieser reguläre Ausdruck prüft, ob eine mögliche syntaktisch richtige Unternehmensnummer (UNR.S) vorliegt. Eine Unternehmensnummer je Unternehmen ersetzt ab dem 01.01.2023 die vielen Systeme von Mitgliedsnummern bei Berufsgenossenschaften, der Sozialve...
Submitted by
Benjamin Butschko (LOHNunion GmbH)
-
5 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
USA phone matcher
Regex for matching usa number like: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555...
Submitted by
Arif
-
4 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Date match by CodeZ
Matching date patterns for coursera text mining assignment 1.
Submitted by
CodeZ
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Extract email username from email address
This workspace contains the needed ECMAScript regex for use in Cloudflare Workers Email Routing.
Submitted by
~ajhalili2006
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Match typescript filenames excluding .d.ts files
Match typescript filenames excluding .d.ts files This RegExp matches, ts tsx...
Submitted by
@yumyum-web
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
searchjsonmutikey
jsonmultikey
Submitted by
anonymous
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Find passwords in logs
Regex to find cleartext passwords in logs in various formats
Submitted by
anonymous
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Replace FOSUserBundle controller attributes to Symfony #[Route] attribute
Substitute AbstractFOSRestController Routing attributes by Symfony Routing attribute \#[Route] move HTTP method to methods:[''] and use #[Route] attribute #[Rest\Get('/corbeilles')] #[Rest\Post('/corbeille/restore')] #[Rest\Delete(path: '/chapitres/{id}', requirements: ['id' => '\d+'])]...
Submitted by
anonymous
-
3 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Finnish SSN (2023 update)
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
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
RTTU Pharsing
RegEx for RTTU Pharsing
Submitted by
CVIKL Dubravko
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Conventional Commits for commitcheck.com
Conventional Commits is a specification for adding human and machine readable meaning to commit messages. CommitCheck is a GitHub app that ensures commit messages, PR titles and PR descriptions are consistent and contain required information. However, CommitCheck supports only ruby regular express...
Submitted by
https://github.com/CCXXXI
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
BadDomainNamesDetected
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
a month ago
1
...
213
214
215
216
217
218
219
...
264
RGX lj-ARRAY
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
javascript
/
(
(
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
.
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
\.
[
>,<,>=,<=,==,<,!=
]
\.
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
)+
(
OR
|
AND
|
{}
)
)*
/
Open regex in editor
Description
Loading markdown...
Submitted by
LJARRAY
- 7 years ago