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,660 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Password regular expression
PCRE2 (PHP >=7.3)
Password should contain at least 8 symbols, one lower case, one upper case and one number. https://owasp.org/www-community/password-special-characters
Submitted by
Tahiaji
-
a year ago
2022-10-18 08:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Release and master branches
PCRE2 (PHP >=7.3)
refs/heads/release/1.0.1 refs/heads/master master release/1.0.1
Submitted by
AbdElraouf Sabri
-
a year ago
2022-10-18 07:34
(Last modified a year ago)
2022-10-18 07:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Фильтр русских матов
Java 8
оригинал был взят отсюда: https://gist.github.com/imDaniX/8449f40655fcc1b92ae8d756cbca1264 добавил: сучка, трахать, жопа, залупа
Submitted by
anonymous
-
a year ago
2022-10-15 20:40
(Last modified a year ago)
2022-10-16 04:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sparkpost email address local part
PCRE2 (PHP >=7.3)
Tests if string can be used as a valid sparkpost sending email address
Submitted by
MreeP
-
a year ago
2022-10-15 12:31
(Last modified a year ago)
2022-10-15 12:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PNRPU STUDY PROJECT CS, lab work 6
PCRE2 (PHP >=7.3)
Definition of the concept of "word" in accordance with the formulation of the problem.
Submitted by
anonymous
-
a year ago
2022-10-15 04:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
compare lista
PCRE2 (PHP >=7.3)
preciso saber se, os numeros que nao tem nome e igual a algum dos que estao com nome na frente
Submitted by
Silva
-
a year ago
2022-10-14 14:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Русские маты
PCRE2 (PHP >=7.3)
Матчит русские маты
Submitted by
piterden
-
a year ago
2022-10-14 03:22
(Last modified a year ago)
2022-10-14 03:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace 2 or more whitespace
PCRE2 (PHP >=7.3)
Replace 2 or more whitespace
Submitted by
blacksmithop
-
a year ago
2022-10-13 07:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
number
PCRE2 (PHP >=7.3)
mã số có 8 kí tự bắt đầu từ 17-22 ///^[1]{1}[7-9]{1}\d{6}$|^[2]{1}[0-2]{1}\d{6}$/gmi
Submitted by
anonymous
-
a year ago
2022-10-13 03:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CmdLineRaw
PCRE2 (PHP >=7.3)
CmdLineRaw
Submitted by
anonymous
-
a year ago
2022-10-12 03:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Syslog
PCRE2 (PHP >=7.3)
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
a year ago
2022-10-12 03:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GF API Scan
PCRE2 (PHP >=7.3)
using gf I wan to scan apis better
Submitted by
Chase Jensen
-
a year ago
2022-10-12 02:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group_of_three-with-start-keywords
PCRE2 (PHP >=7.3)
group_of_three-with-start-keywords
Submitted by
Vova Sharaienko
-
a year ago
2022-10-11 20:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
a year ago
2022-10-11 15:34
(Last modified a year ago)
2022-10-13 17:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
Submitted by
anonymous
-
a year ago
2022-10-11 12:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C#-ifying classes pasted from JSON
PCRE2 (PHP >=7.3)
When pasting JSON payloads, requests or response as C# classes, the casing of property names is not usually idiomatic C#. This regular expression helps transform the property names while adding System.Text.Json.JsonPropertyName attributes to properties to preserve the original names for serialization.
Submitted by
Gareth James
-
a year ago
2022-10-11 11:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
add _&_ between numbers
PCRE2 (PHP >=7.3)
adds (space)&(space) between numbers
Submitted by
_
-
a year ago
2022-10-10 17:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
AsciiDoc delimited block example
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/
Submitted by
aisbergde
-
a year ago
2022-10-10 10:07
(Last modified a year ago)
2022-10-10 10:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc table
Java 8
https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/
Submitted by
aisbergde
-
a year ago
2022-10-10 10:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML Figure Caption German
PCRE2 (PHP >=7.3)
Finds paragraph with German "Bild # ..." and replaces it with HTML expressions for figure and figure caption surrounding it.
Submitted by
Hans Kannewitz
-
a year ago
2022-10-10 08:13
(Last modified a year ago)
2022-10-12 10:43
1
...
44
45
46
47
48
49
50
...
133
Numbers only
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
*
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
sarumie
-
a year ago
2022-09-06 04:46
(Last modified a year ago)
2022-09-06 04:47