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...
1
Remove invalid characters and autotrim
ECMAScript (JavaScript)
remove the multiline switch
Submitted by
iamtheauthor
-
10 years ago
1
Un-titled
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Nada
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Post
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Regex Pattern for Mexico Phone Number using Groups
PCRE (PHP <7.3)
Can anyone help me format the following regex for Mexico Phone Numbers. I have two issues, the Regular Expression builder is telling me my Grouping is invalid and also I am having trouble with the 52 pattern. I want it to allow any two digits such as [0-9]{2} example: 52-555-786-2300 (\\+?1[\\s\...
Submitted by
kingpoop
-
10 years ago
1
Get version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
None
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-1
sfafagergfwefe323
Python
no description available
Submitted by
anonymous
-
10 years ago
1
f
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
,,,
PCRE (PHP <7.3)
,,,
Submitted by
,,,
-
10 years ago
-2
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
10 years ago
1
Find Word on A Text
PCRE (PHP <7.3)
This expression find a word in a text without limitation of "\b" statement
Submitted by
theShadow
-
10 years ago
0
rwe
PCRE (PHP <7.3)
rwerw
Submitted by
rwerw
-
10 years ago
1
ECMAScript (JavaScript)
Submitted by
-
10 years ago
1
Url regex testing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
10
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
10 years ago
-2
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
asf
PCRE (PHP <7.3)
asfd
Submitted by
asdf
-
10 years ago
0
test
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
872
873
874
875
876
...
900
Community Library Entry
0
Regular Expression
Python
r"
^
(?P<opcode>
[
a
-
zA
-
Z
]
+
)
(?P<byte_mode>
\.
[
BbWw
]
)?
(?:
\s
+
)
(?P<operand_src>
[
A
-
Za
-
z0
-
9@
\(\)
]
+
)
(?:
(?:
,
\s
*
)
|
(?:
\s
+
)
)
(?P<operand_dst>
[
A
-
Za
-
z0
-
9@
\(\)
]
+
)
"
gm
Open regex in editor
Description
Match double-argument assembler instructions, extracting opcode, operand_src, and operand_dst
Submitted by
Sam Wagenaar
-
2 years ago