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...
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
-
2 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
-
2 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
-
2 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
-
2 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
-
2 years ago
2021-05-11 16:36
(Last modified 2 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
-
2 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
-
2 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
-
2 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
-
2 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
-
2 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
-
2 years ago
2021-05-12 16:29
(Last modified 2 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
-
2 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
-
2 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
-
2 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
-
2 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
-
2 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
-
2 years ago
2021-05-14 10:30
(Last modified 2 years ago)
2021-05-14 16:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Floating point number with optional positive/negative
PCRE2 (PHP >=7.3)
Basic matches an integer or floating point number with optional positive or negative signed.
Submitted by
Tony Le
-
2 years ago
2021-05-14 21:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to replace path in apache rewrite
Java 8
This regex convert following text: /research/the-123s-of-school-choice/ INTO: /research-library/?report=the-123s-of-school-choice
Submitted by
Suman Maharjan
-
2 years ago
2021-05-15 05:30
(Last modified 2 years ago)
2021-05-15 05:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to replace SRC to DATA-SRC when class attribute contains lazy text
PCRE2 (PHP >=7.3)
This regex converts text like this: __ TO: __
Submitted by
Suman Maharjan
-
2 years ago
2021-05-15 05:26
1
...
33
34
35
36
37
38
39
...
118
Robot 1
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
Output:
\s
+
(?P<output>
.
*
?
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-08-27 17:30