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...
2
python:S117
PCRE (PHP <7.3)
Local variable and function parameter names should comply with a naming convention
Submitted by
anonymous
-
9 years ago
2
Simple @user replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
credit card
PCRE (PHP <7.3)
Based on http://www.regular-expressions.info/creditcard.html This example includes test strings. This only validates the pattern, and not whether the credit card number passes a checksum validation. See the Luhn algorithm for details https://en.wikipedia.org/wiki/Luhn_algorithm...
Submitted by
Steve Piercy
-
9 years ago
2
Replace REM by blank
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Function Parameter Switcher
PCRE (PHP <7.3)
Switches the order of two functions in a parameter.
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
better orf finder
PCRE (PHP <7.3)
don't use my older one
Submitted by
tnrich
-
9 years ago
2
JSON BizTalk schema output
PCRE (PHP <7.3)
To convert the BizTalk schema output to one string
Submitted by
Emiel Kool
-
9 years ago
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
9 years ago
2
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
9 years ago
2
Valmaks_rename_big_strings
PCRE (PHP <7.3)
no description available
Submitted by
witamin
-
9 years ago
2
Match 'words' with internal punctuation retained
Python
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago
2
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
postgesql
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Full URI Mapping
PCRE (PHP <7.3)
Everything, including proto, user:pass, host, query params and anchors
Submitted by
baadf00d
-
9 years ago
2
remove n lines after matching pattern
PCRE (PHP <7.3)
stackoverflow question
Submitted by
irom77
-
9 years ago
2
Unicode username
ECMAScript (JavaScript)
Unicode user name check with som allowed non-alhanum characters
Submitted by
Martin Bucko
-
9 years ago
2
inline img
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Portuguese phone numbers
ECMAScript (JavaScript)
Matches Portuguese phone numbers.
Submitted by
github.com/luis140219
-
9 years ago
1
...
862
863
864
865
866
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
[
,.
-
_
]
?
[
ء
-
یa
-
zA
-
Z0
-
9
]
+
[
,.
-
_
]
?
/
gm
Open regex in editor
Description
متن آدرس فارسی را به آرایه تبدیل می کند
Submitted by
anonymous
-
2 years ago