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
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,680 community submitted regex patterns...
0
Rename files
Python
Python regex of multiple file rename
Submitted by
anonymous
-
2 years ago
0
Match Street Number
Python
Matches street number in it's 2nd group
Submitted by
anonymous
-
2 years ago
0
AA find Excel command in script
Python
find Excel command in script based on json
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Canvas user quiz url to API url
Python
Turns a URL provided by the user (copied from the address bar) into a url to access the same quiz with the Canvas LMS REST API.
Submitted by
anonymous
-
2 years ago
0
hashcode #15849
ECMAScript (JavaScript)
정규식 예제
Submitted by
anonymous
-
2 years ago
0
String literals
ECMAScript (JavaScript)
Matches string literals and contained escape sequences.
Submitted by
anonymous
-
2 years ago
0
match one or more contiguous white space characters
ECMAScript (JavaScript)
match one or more contiguous white space characters in a string. can be used in JS, for example, to replace any white space characters (tab, space, newline), as well as multiple contiguous WS chars, with a single space character. var text = “1 2 \t \n 3”; text = text.replace(/\s+/g, ' '...
Submitted by
anonymous
-
2 years ago
0
missing semicolons between variable declarations
ECMAScript (JavaScript)
user for bcl this helps to find missing semicolons to trigger an error
Submitted by
Cazpfitl
-
2 years ago
0
Remove emojis and \r
ECMAScript (JavaScript)
remove emojis
Submitted by
gaurav
-
2 years ago
0
URL
ECMAScript (JavaScript)
URL detection
Submitted by
anonymous
-
2 years ago
0
单行注释
ECMAScript (JavaScript)
单行注释
Submitted by
anonymous
-
2 years ago
0
多行注释
ECMAScript (JavaScript)
多行注释
Submitted by
anonymous
-
2 years ago
0
starts with number and ends with string or number
Python
starts with number and ends with string or number starts with +ve, -ve or decimal number
Submitted by
suraj
-
2 years ago
0
rackerrank tweet
ECMAScript (JavaScript)
Rackerrank regex prepare
Submitted by
jcbelarmino
-
2 years ago
0
conditional lookahead (IF (pat1) or (pat2) THEN match (pat1) and/or (pat2) box
Python
Python does not support conditionals using lookaround, even though Python does support lookaround outside conditionals. (?(?=regex) then|else) is illegal in python (?=regex)then|(?!regex)else - this works. madness details in the test strings
Submitted by
PeteC
-
2 years ago
0
匹配图片链接
ECMAScript (JavaScript)
匹配图片链接
Submitted by
anonymous
-
2 years ago
0
전방 탐색으로 정규표현식의 곱(AND) 작성하기
ECMAScript (JavaScript)
Submitted by
anonymous
-
2 years ago
0
script tag
ECMAScript (JavaScript)
find tag, but you can adapt to other tag
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Email Validation
Python
It won't recognize if the local-part is just one character like t@somedomain.com
Submitted by
anonymous
-
2 years ago
0
single character v2?
Python
find any standalone, non-white space character
Submitted by
anonymous
-
2 years ago
1
...
250
251
252
253
254
...
284
JSONREGEX
1
Regular Expression
Python
r"
(
{
\s
*
"
entry
"
:
\s
*
{
[
\"
\s
\:\,\.
\w\d
]
{1,}
},
\s
*
"
entryType
"
:
1,
\s
*
"
.
*
"
:
"
.
*
"
\s
+
}
)
(?:
,
*
\s
*
){1,}
(?:
{
\s
*
"
entry
"
:
\s
*
{
[
\"
\s
\:\,\.
\w\d
]
{1,}
},
\s
*
"
entryType
"
:
\d
+
,
\s
*
"
.
*
"
:
"
.
*
"
\s
*
}
\s
*
,
*
\s
*
)*
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago