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,980 community submitted regex patterns...
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
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
10 years ago
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
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
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
0
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
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
0
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
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
0
Detecta abreviaturas de tipo de personalidades juridicas
ECMAScript (JavaScript)
Detecta abreviaturas de tipo de personalidades juridicas, que habitualmente se encuentran en la razón social de una empresa, en el caso de Chile es obligatorio la razon social especifique que tipo de personalidad juridica es.
Submitted by
Edurdo Gómez
-
10 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Username
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-
10 years ago
1
Get the extension of file
ECMAScript (JavaScript)
Get the extension of file
Submitted by
Taffarel Xavier
-
10 years ago
1
...
25
26
27
28
29
...
199
Community Library Entry
2
Regular Expression
Python
r"
[
\w
'
-
.
]
+
\w
|
[
\w
'-
]
+
\s
*
"
Open regex in editor
Description
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago