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,360 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Recognize Bosch partnumber
PCRE2 (PHP >=7.3)
partsnumber validate
Submitted by
Digimusen
-
a year ago
2022-09-14 21:10
(Last modified a year ago)
2022-09-14 21:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
php socket
PCRE2 (PHP >=7.3)
validates a php socket string
Submitted by
anonymous
-
a year ago
2022-09-14 11:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
JavaScript Naming Convention Parser/Validator
PCRE2 (PHP >=7.3)
Surprisingly short regex that matches valid JavaScript identifier names and captures it in a group according common JavaScript naming conventions, e.g: myVariable generic name for most identifiers, uses camelCase MyClass...
Submitted by
Neel Yadav
-
a year ago
2022-09-13 22:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BankPostingInvoiceNumber
PCRE2 (PHP >=7.3)
Get Invoice Number
Submitted by
Diego Riva
-
a year ago
2022-09-13 19:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BankPostingMiddle
PCRE2 (PHP >=7.3)
Get Middle Value From Invoice Text
Submitted by
Diego Riva
-
a year ago
2022-09-13 19:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Σ = { a , b,c } Cadenas que contienen al menos dos a’s o exactamente tres b’s
PCRE2 (PHP >=7.3)
Tarea 1 - LFYA
Submitted by
anonymous
-
a year ago
2022-09-12 02:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tarea 1
PCRE2 (PHP >=7.3)
Lenguajes
Submitted by
anonymous
-
a year ago
2022-09-11 17:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Aktienkurse
PCRE2 (PHP >=7.3)
Bekomme es nicht hin, den Wert 22,32 zu extrahieren
Submitted by
Gregor
-
a year ago
2022-09-11 11:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
groupby string
PCRE2 (PHP >=7.3)
a(bb) aabbabbabbaaa expectedoutput: Start :1, End : 4, Group abb...
Submitted by
anonymous
-
a year ago
2022-09-10 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Hello World exercise
PCRE2 (PHP >=7.3)
Find Hello world!
Submitted by
viktomas
-
a year ago
2022-09-10 09:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time Hint
PCRE2 (PHP >=7.3)
Regex for detecting common date/time formats.
Submitted by
Gyen
-
a year ago
2022-09-09 19:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filtering of URL parameter passwords
PCRE2 (PHP >=7.3)
When logging URLs the passwords that are sent as URL parameters should be masked out to not write them in clear text into the log files.
Submitted by
Jan Kessler
-
a year ago
2022-09-09 14:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
поиск по ключу но только при наличии еще одного ключа
PCRE2 (PHP >=7.3)
регулярное выражение по вхождению ключа, но только при наличии еще одного ключа
Submitted by
Oin
-
a year ago
2022-09-09 11:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aadhar number
PCRE2 (PHP >=7.3)
Finds Aadhar number from given string
Submitted by
anonymous
-
a year ago
2022-09-08 13:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AWS Cron regex
PCRE2 (PHP >=7.3)
A incomplete regex for validating AWS cron expressions
Submitted by
anonymous
-
a year ago
2022-09-08 01:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
nextflow
PCRE2 (PHP >=7.3)
nextflow grammer
Submitted by
anonymous
-
a year ago
2022-09-07 20:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find all url in <a> in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
a year ago
2022-09-07 20:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find text in html
PCRE2 (PHP >=7.3)
for tp
Submitted by
anonymous
-
a year ago
2022-09-07 20:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Encontrado Milhares
PCRE2 (PHP >=7.3)
milhares/centenas/dezenas milhares/centenas/dezenas/unidades milhares/centenas milhares/dezenas
Submitted by
anonymous
-
a year ago
2022-09-06 15:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL REGEX
PCRE2 (PHP >=7.3)
URL REGEx
Submitted by
anonymous
-
a year ago
2022-09-06 15:25
1
...
41
42
43
44
45
46
47
...
118
1부터 45까지의 숫자만 받음
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
1
-
9
]
{1}
$
|
^
[
1
-
3
]
{1}
[
0
-
9
]
{1}
$
|
^
4
{1}
[
0
-
5
]
{1}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-06-24 07:35