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)
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
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
-
3 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
-
3 years ago
2021-05-15 05:30
(Last modified 3 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
-
3 years ago
2021-05-15 05:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
r-type single register
PCRE2 (PHP >=7.3)
for a comp arch assembler
Submitted by
anonymous
-
3 years ago
2021-05-15 06:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
2021-05-15 07:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace Json value with key
PCRE2 (PHP >=7.3)
Find the key and replace it's value.
Submitted by
anonymous
-
3 years ago
2021-05-17 13:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Address
PCRE2 (PHP >=7.3)
grab address
Submitted by
anonymous
-
3 years ago
2021-05-17 15:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
3 years ago
2021-05-17 17:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
한글자만 남기고 중복글자 지우기
PCRE2 (PHP >=7.3)
한글자만 남기고 중복글자 지우기 ex) 강남역역역역 -> 강남역
Submitted by
anonymous
-
3 years ago
2021-05-18 05:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get Client
PCRE2 (PHP >=7.3)
Parse Client type
Submitted by
ben
-
3 years ago
2021-05-18 22:45
1
...
42
43
44
45
46
47
48
...
133
Validate UUID
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9A
-
F
]
{8}
-
[
0
-
9A
-
F
]
{4}
-4
[
0
-
9A
-
F
]
{3}
-
[
89AB
]
[
0
-
9A
-
F
]
{3}
-
[
0
-
9A
-
F
]
{12}
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
@eltonplima
-
2 years ago
2021-08-10 09:41