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 4,520 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - no digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case a word with no digits allowed, a word: MUST start with a lower case alphabet (a through z) MUST have no digits (0 - 9) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
a year ago
2022-08-12 21:09
(Last modified a year ago)
2022-08-13 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel Case - digits allowed
PCRE2 (PHP >=7.3)
To be proper camel case (with digits allowed) a word: MUST start with a lower case alphabet (a through z) MUST have no spaces, punctuation or special characters CAN have at most 1 uppercase alphabet in a row MAY end in an uppercase alphabet...
Submitted by
roubles
-
a year ago
2022-08-13 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PasCamelCase
PCRE2 (PHP >=7.3)
PasCamelCase A combination of pascal and camel case. PasCamelCase is a lenient case style that is allows a phrase to use either pascal case or camel case rules. In addition, PasCamelCase allows for 2-3 letter acronyms such as Rules For a phrase to be valid PasCamelCase it:...
Submitted by
anonymous
-
a year ago
2022-08-13 02:27
(Last modified a year ago)
2022-08-13 04:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validation
PCRE2 (PHP >=7.3)
^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by
anonymous
-
a year ago
2022-08-14 08:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RTDM_Thread_Pool
PCRE2 (PHP >=7.3)
RTDM_Thread_Pool
Submitted by
anonymous
-
a year ago
2022-08-16 08:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
basic email validation
PCRE2 (PHP >=7.3)
Basic email regex for quick validation
Submitted by
bUxEE
-
a year ago
2022-08-16 15:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Governing Law matcher
PCRE2 (PHP >=7.3)
Nifty RegEx to match commonly-worded Govering Law clauses in agreements and contracts
Submitted by
anonymous
-
a year ago
2022-08-16 16:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
id_name_fb
PCRE2 (PHP >=7.3)
get id, name from fb link
Submitted by
anonymous
-
a year ago
2022-08-16 16:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vampire output formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines printed by the options --show_everything, --show_active, --show_new etc. Run vampire --show_everything on to generate a compatible string.
Submitted by
Filip Bártek
-
a year ago
2022-08-16 17:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cyrillic endings for regex declination
PCRE2 (PHP >=7.3)
cyrillic endings for regex declination
Submitted by
https://t.me/seocringe
-
a year ago
2022-08-17 08:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vampire proof formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines that contain the proof. Run vampire --proof on to generate a compatible string.
Submitted by
Filip Bártek
-
a year ago
2022-08-17 11:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Package REgex
Python
Not perfect but works
Submitted by
anonymous
-
a year ago
2022-08-17 14:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel/pascal case to snake case
Python
Converts camel or pascal case to snake case But it still needs to be converted to lower case
Submitted by
anonymous
-
a year ago
2022-08-17 19:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
EC21 docs
Python
Get AT explain
Submitted by
anonymous
-
a year ago
2022-08-18 04:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
... at start or end of line including whitespace
Python
Used to format kaggle dataset
Submitted by
anonymous
-
a year ago
2022-08-18 13:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CEP Regex Brazil
PCRE2 (PHP >=7.3)
Regex para validação de CEP
Submitted by
Jasmini Santos
-
a year ago
2022-08-18 20:26
(Last modified a year ago)
2022-09-21 12:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get custom emoji
PCRE2 (PHP >=7.3)
Hello :smiley: i love :chocolate:
Submitted by
anonymous
-
a year ago
2022-08-19 08:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex 320 chars
PCRE2 (PHP >=7.3)
Email Regex 320 chars
Submitted by
anonymous
-
a year ago
2022-08-19 15:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace function declaration with const arrow function
PCRE2 (PHP >=7.3)
Captures a function declaration and changes it to an arrow function with const at the beginning.
Submitted by
anonymous
-
a year ago
2022-08-19 22:57
(Last modified a year ago)
2022-08-22 17:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
aws incognito Identity Pool
PCRE2 (PHP >=7.3)
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-dg.pdf#cognito-scenarios
Submitted by
anonymous
-
a year ago
2022-08-20 20:03
1
...
148
149
150
151
152
153
154
...
226
test
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(?<=
\n
)
\w
{10}
\w
{0,5}
(?=
\w
{0,9}
)
\s
{0,18}
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-09-28 16:47