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 3,860 community submitted regex patterns...
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
1
DEMO
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
C# constants from Unity3D's MonoBehaviour messages' docs
ECMAScript (JavaScript)
Create a static reference to the Unity MonoBehaviour messages. Select the "Messages from" http://docs.unity3d.com/ScriptReference/MonoBehaviour.html and substitute with: public const string $1 = "$1";
Submitted by
KiwiDevelop.com
-
10 years ago
1
How to limit total number of characters of match
ECMAScript (JavaScript)
I need to match a pattern as follows with the added limitation that the match must be exactly 7 characters long: /^\d[a-zA-Z]\d$/ In words, this is a 7 character sequence of 6 digits and one alphabetic character in any order. How do I limit the overall length to 7 using regex? Thanks!
Submitted by
Andy S
-
10 years ago
1
MY RFC 5322 implementation
ECMAScript (JavaScript)
My RFC 5322 implementation for email validation with few limitation on top level domain name
Submitted by
DevJustWantHaveFun
-
10 years ago
1
big apple is fool
ECMAScript (JavaScript)
no description available
Submitted by
litianzhao
-
10 years ago
1
Extract video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
10 years ago
1
SIP Address Validator
ECMAScript (JavaScript)
This Regular Expression Validates SIP Addresses
Submitted by
Tarun Telang, Sanjay Sinha
-
10 years ago
1
Cleveland, OH
ECMAScript (JavaScript)
CLeveland, OH ||| SanDiego, CA this regex will pick up on those
Submitted by
anonymous
-
10 years ago
1
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
10 years ago
1
Google Sheets Reference Formula
ECMAScript (JavaScript)
Matches and extracts the relevant parts of reference formulas from Google Sheets. For instance: ='Test Sheet'!H$5
Submitted by
anonymous
-
10 years ago
1
Pre tags and inner contents grabber for JavaScript
ECMAScript (JavaScript)
No /s, took quite a time to think.
Submitted by
Namikaze Ray a.k.a. Pendechosen
-
10 years ago
1
test tags Libellex
ECMAScript (JavaScript)
no description available
Submitted by
AROC
-
10 years ago
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
1
Validador de Senha
ECMAScript (JavaScript)
Para ser valido o texto deve ter entre 6 e 32 caracter entre eles um deve ser um especial, uma letra maiúscula, uma minúscula e um número
Submitted by
Gustavo Américo (GAG)
-
10 years ago
1
Remove GO and split for batch SQL text
ECMAScript (JavaScript)
Useful for when you need to convert a T-SQL MSSMS Server batch into individual SQL requests by removing the GO between them. e.g. Dim SQLBatches As String() = Regex.Split(text, "(?:\s|\r|\n)+GO\s*(?:\r|\n)", RegexOptions.IgnoreCase)
Submitted by
SarahC
-
10 years ago
1
Email with groups
ECMAScript (JavaScript)
Groups for: Whole email user domain Matches valid emails with numbers, chars, dots and dashes, domains with extensions of 2 or 3 letters.
Submitted by
Ruben Paz
-
10 years ago
1
Liberal Email Address
ECMAScript (JavaScript)
Very simple & basic. More forgiving, less stringent. Allows anything which looks reasonably valid. Allows one at-symbol. Requires a two part hostname (i.e. abc@localhost is not allowed)
Submitted by
billinghamj
-
10 years ago
1
Greatest common divisor
ECMAScript (JavaScript)
Calculates the greatest common divisor of two numbers. Attention: pipes in the substitution separate alternatives. If one alternative does not match, the next alternative is tried if it exists. The substitution must be repeated until it cannot substitute further.
Submitted by
luis140219 on GitHub
-
10 years ago
1
...
21
22
23
24
25
...
193
Community Library Entry
0
Regular Expression
Java 8
"
(?<=
suppl/
)
(
.
*
(?:
pdf
|
doc
|
xml
)
)
"
Open regex in editor
Description
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
2 years ago
(Last modified 2 years ago)