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...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
addrestest
PCRE2 (PHP >=7.3)
address java
Submitted by
anonymous
-
3 years ago
2021-05-07 12:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date parser
PCRE2 (PHP >=7.3)
Some invalid dates are matched. For those, add control using java when parsed if number is greater than limit.
Submitted by
anonymous
-
3 years ago
2021-05-07 12:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Float
PCRE2 (PHP >=7.3)
Save float point number.
Submitted by
anonymous
-
3 years ago
2021-05-07 13:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
The entire world and more
PCRE2 (PHP >=7.3)
matches only uppercase consonants really sure.
Submitted by
Doomject-Supreme
-
3 years ago
2021-05-07 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT exercise: separators in figures (en -> es)
Java 8
Replace thousand and decimal separators
Submitted by
anonymous
-
3 years ago
2021-05-09 18:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OmegaT exercises
Java 8
OmegaT exercises
Submitted by
msoutopico
-
3 years ago
2021-05-09 18:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Migros_brackets
PCRE2 (PHP >=7.3)
Migros brackets
Submitted by
anonymous
-
3 years ago
2021-05-11 07:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Passwort-Validierung
PCRE2 (PHP >=7.3)
Eine einfache RegEx zur Validierung von Passwörtern mit folgenden Regeln: mind. eine Ziffer mind. ein Kleinbuchstabe mind. ein Großbuchstabe mind. ein Sonderzeichen (!?-_.:,;+*~#“'´`\\={}()\/&%$§)...
Submitted by
Ruben Winkler - Der ultimative Regular Expression Komplettkurs
-
3 years ago
2021-05-11 16:36
(Last modified 3 years ago)
2021-05-11 16:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Zeichen (Literal Characters)
PCRE2 (PHP >=7.3)
Beispiel zur Lektion "Zeichen (Literal Characters)".
Submitted by
Ruben Winkler - Der ultimative Regular Expression Komplettkurs
-
3 years ago
2021-05-11 16:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vezetéknév
PCRE2 (PHP >=7.3)
Ellenőrzi a magyar ékezetes, kötőjeles, szóközzel vagy ponttal elválasztott neveket.
Submitted by
anonymous
-
3 years ago
2021-05-11 18:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Keresztnév ellenőrzés
PCRE2 (PHP >=7.3)
RegEx, ami a magyar ékezetes keresztneveket ellenőrzi.
Submitted by
anonymous
-
3 years ago
2021-05-11 18:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wie arbeiten RegEx?
PCRE2 (PHP >=7.3)
Beispiel zur Lektion "Wie arbeiten RegEx?".
Submitted by
Ruben Winkler - Der ultimative Regular Expression Komplettkurs
-
3 years ago
2021-05-11 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IBAN Search
PCRE2 (PHP >=7.3)
with white space and capitals
Submitted by
anonymous
-
3 years ago
2021-05-12 07:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match @access phpdoc tags
PCRE2 (PHP >=7.3)
used for finding old skool @access tags in method phpdoc comments. any amount of whitespace can exist before * and before scope identifier examples: @access public...
Submitted by
anonymous
-
3 years ago
2021-05-12 16:29
(Last modified 3 years ago)
2021-05-12 16:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Year/Month/Day parser
PCRE2 (PHP >=7.3)
Parse the years/months/days from a string
Submitted by
anonymous
-
3 years ago
2021-05-12 20:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Convert list for use in SQL IN statement
PCRE2 (PHP >=7.3)
Just need to remove the last ,
Submitted by
Ian1971
-
3 years ago
2021-05-13 09:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
owo/uwu/7w7
PCRE2 (PHP >=7.3)
detects this shit: owo uwu 7w7 unu 7n7...
Submitted by
padero
-
3 years ago
2021-05-13 11:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
/static/ finder, for django replacement
PCRE2 (PHP >=7.3)
replace /static/ sources with the django {% static %} tags
Submitted by
anonymous
-
3 years ago
2021-05-13 15:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
django /static/ to {% static %}
PCRE2 (PHP >=7.3)
replaces as said
Submitted by
anonymous
-
3 years ago
2021-05-13 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AEM - Author & Publisher - request.log - RegEx for SPLUNK fields
PCRE2 (PHP >=7.3)
RegEx to extract fields in SPLUNK for AEM Authors and Publishers for the request.log.
Submitted by
Robert Wunsch
-
3 years ago
2021-05-14 10:30
(Last modified 3 years ago)
2021-05-14 16:49
1
...
42
43
44
45
46
47
48
...
133
array() to shorthand []
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(?!
array
\(
\n
*
)
array
\(
\n
*
*
(
.
*
)
\)
(
[
,;
]
)*
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-08-11 08:14