Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
0
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
(Last modified 3 years ago)
0
Year/Month/Day parser
PCRE2 (PHP >=7.3)
Parse the years/months/days from a string
Submitted by
anonymous
-
3 years ago
0
Convert list for use in SQL IN statement
PCRE2 (PHP >=7.3)
Just need to remove the last ,
Submitted by
Ian1971
-
3 years ago
0
owo/uwu/7w7
PCRE2 (PHP >=7.3)
detects this shit: owo uwu 7w7 unu 7n7...
Submitted by
padero
-
3 years ago
0
/static/ finder, for django replacement
PCRE2 (PHP >=7.3)
replace /static/ sources with the django {% static %} tags
Submitted by
anonymous
-
3 years ago
0
django /static/ to {% static %}
PCRE2 (PHP >=7.3)
replaces as said
Submitted by
anonymous
-
3 years ago
0
discord gift
ECMAScript (JavaScript)
detects links from discord.com/gifts discord.gift/
Submitted by
padero
-
3 years ago
0
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
(Last modified 3 years ago)
0
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
0
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
(Last modified 3 years ago)
0
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
0
r-type single register
PCRE2 (PHP >=7.3)
for a comp arch assembler
Submitted by
anonymous
-
3 years ago
0
Email Regex
Java 8
Regex to capture email from Text
Submitted by
Suman Maharjan
-
3 years ago
0
Replace Json value with key
PCRE2 (PHP >=7.3)
Find the key and replace it's value.
Submitted by
anonymous
-
3 years ago
0
Address
PCRE2 (PHP >=7.3)
grab address
Submitted by
anonymous
-
3 years ago
0
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
3 years ago
0
한글자만 남기고 중복글자 지우기
PCRE2 (PHP >=7.3)
한글자만 남기고 중복글자 지 우기 ex) 강남역역역역 -> 강남역
Submitted by
anonymous
-
3 years ago
0
Get Client
PCRE2 (PHP >=7.3)
Parse Client type
Submitted by
ben
-
3 years ago
0
Json Starts With Keys
PCRE2 (PHP >=7.3)
Regex for checking if JSON starts with desired keys Useful for validating/filtering database entries when used in combination with SQL Like Example: Postgre: select * from table_name where column_json ~ '^\{[\s]\"(tab1|tab3|tab5)".'
Submitted by
MUA
-
3 years ago
0
Number Parsing w/ Scientific Support
ECMAScript (JavaScript)
Capture a number out of a string. Supports positive/negative, decimal, and Scientific Notation
Submitted by
Brombomb
-
3 years ago
1
...
752
753
754
755
756
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\[\*\*
.
*
\/
.
md
\)
/
gm
Open regex in editor
Description
get the matching text starting from [** to /.md
Submitted by
anonymous
-
3 years ago