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,040 community submitted regex patterns...
1
js
ECMAScript (JavaScript)
no description available
Submitted by
sd
-
11 years ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
11 years ago
1
tags, tags in quotes
PCRE (PHP <7.3)
#day tralalala #"day" tralalala #'beautiful_day'
Submitted by
voodoo free.dev.ua@gmail.
-
11 years ago
1
rfrf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Switzerland UID id
PCRE (PHP <7.3)
matches the Swiss government's UID id for enterprises
Submitted by
marcel
-
11 years ago
1
Singular or Plural
ECMAScript (JavaScript)
no description available
Submitted by
Gavin Jackson
-
11 years ago
1
match up to -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
example regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
srt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Task 1
PCRE (PHP <7.3)
no description available
Submitted by
Kovalev Evgeny
-
11 years ago
1
Test Listing Parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Find UnCommented Console. Code
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
1
Parse drupal version info from filename
PCRE (PHP <7.3)
no description available
Submitted by
Jason Smith
-
11 years ago
1
ArcSight Administrator
PCRE (PHP <7.3)
It's to activate when storage space reaches 75% capacity
Submitted by
Michal Starr
-
11 years ago
1
Inside single quotes, escape aware
PCRE (PHP <7.3)
Allows the single quote to be escaped, handles the \\' situation
Submitted by
Robin
-
11 years ago
1
Grab double or single quoted text, escape aware
PCRE (PHP <7.3)
^$ are only added for the test cases, handles escapes and the closing \\" situation
Submitted by
robin
-
11 years ago
1
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
gk
PCRE (PHP <7.3)
wertyuikjh
Submitted by
hjk
-
11 years ago
1
dsf
ECMAScript (JavaScript)
no description available
Submitted by
fdsfdsfdsf
-
11 years ago
1
...
576
577
578
579
580
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<Loop>
(?<NewBlock>
(?:
(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\/\*
)
.
)+
\n
|
^
(?:(?!
\/\*
)
.
)+
)
)+
)?
(?<OldBlock>
(?:
\/\*
.
+
\*\/
|
(?:
\/\*
.
*
\n
)
(?:(?:
^
[
\s
]
*
\n
|
^
(?:(?!
\*\/
)
.
)+
\n
|
^
(?:(?!
\*\/
)
.
)+
))+
\*\/
)
)?
)+
/
gmx
Open regex in editor
Description
Real Shit
forgot why I started making this midway thru
Submitted by
anonymous
-
5 years ago