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)
php socket
PCRE2 (PHP >=7.3)
validates a php socket string
Submitted by
anonymous
-
a year ago
2022-09-14 11:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
filter
PCRE (PHP <7.3)
filter string
Submitted by
anonymous
-
a year ago
2022-09-14 02:00
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)
Postcodes
Python
This identifies whether a postcode (four numbers, two letters has been provided)
Submitted by
anonymous
-
a year ago
2022-09-13 09:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Exclude a specific folder path
ECMAScript (JavaScript)
Exclude a specific folder path(/upgrade)
Submitted by
anonymous
-
a year ago
2022-09-13 06:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
quizlet link extract
ECMAScript (JavaScript)
fg
Submitted by
anonymous
-
a year ago
2022-09-12 19:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
Prueba 1
Submitted by
anonymous
-
a year ago
2022-09-12 06:33
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)
quizlet data extract
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
a year ago
2022-09-11 21:36
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)
import module
ECMAScript (JavaScript)
match import module expression: import{mod}from"url/url/file.js" import {mod} from "url/url/file.js"
Submitted by
handoko75@gmail.com
-
a year ago
2022-09-11 01:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
a year ago
2022-09-10 16:24
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)
Match Phone Number: 03## ####### OR +92 3## #######
Java 8
Can be used to match Pakistani SIM card Numbers
Submitted by
anonymous
-
a year ago
2022-09-10 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture mmcli gps location
ECMAScript (JavaScript)
groups latitude and longitude values from the return of "mmcli -m 0 -K --location-get"
Submitted by
anonymous
-
a year ago
2022-09-09 21:42
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
1
...
81
82
83
84
85
86
87
...
870
Password
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(?=
.
*
[
A
-
Za
-
z
]
)
(?=
.
*
\d
)
[
A
-
Za
-
z
\d
$@$!%*?&#
]
{6,}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mohammed Elshaboury
-
9 months ago
2023-02-13 13:54