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 120 community submitted regex patterns...
-2
Parsing result of SQL Server version (SELECT @@VERSION)
.NET 7.0 (C#)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
2 years ago
-1
MMM DDD YYYY
.NET 7.0 (C#)
FEB MON 2023
Submitted by
anonymous
-
2 years ago
0
Remove CDATA tags
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
7 years ago
(Last modified a year ago)
0
ListOfSourcesSeparatedBySpaces
.NET 7.0 (C#)
A list of sources like accepted by the CSP:frame-ancestors header, plus the keywords of the X-Frame-Options header for some backward compatibility
Submitted by
anonymous
-
5 years ago
(Last modified 7 months ago)
0
Name and ID in curly braces
.NET 7.0 (C#)
For a string that starts with '{' and ends with '}' looks for a name and id value within the curly braces. The name group should be trimmed when used to remove leading and trailing whitespace. Ex. {Test10} will result in 2 groups being returned Group 1: Test Group 2: 10
Submitted by
Ryan Felton
-
3 years ago
0
Наличие слова без учета регистра в тексте
.NET 7.0 (C#)
Наличие слова без учета регистра в тексте
Submitted by
anonymous
-
3 years ago
0
gubas2549-knju@force.com
.NET 7.0 (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
3 years ago
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
3 years ago
0
List of email validation
.NET 7.0 (C#)
Validate a list of emails separated by a semicolon. Supports emails with accents and other alphabets. Valid email: Abc@example.com;Abc.123@example.com;user+mailbox/department=shipping@example.com;éüöä^0@émäil.côm !#$%&'*+-/=?^_`.{|}~@example.com;"Abc@def"@example.com;"Fred Bloggs"@example.com;"Joe.\...
Submitted by
Mib
-
3 years ago
0
NDC
.NET 7.0 (C#)
parses all valid NDC codes with or without hyphens
Submitted by
joe.cox@fortyau.com
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 1
.NET 7.0 (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 3
.NET 7.0 (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
3 years ago
0
Migrate infoboxes in AWB: Music phase 2
.NET 7.0 (C#)
Remove deprecated parameters
Submitted by
anonymous
-
3 years ago
0
篩選MP Log Day
.NET 7.0 (C#)
篩選MP Log Day
Submitted by
anonymous
-
3 years ago
0
Missing copyright detector for Visual Studio (.NET)
.NET 7.0 (C#)
Detects one match per file if that file is missing the expected copyright text. This works with Visual Studio IDE. If you are using Rider (PCRE2), you can replace both \b entries with \Q then \E
Submitted by
Kris Morness
-
3 years ago
0
E-mail
.NET 7.0 (C#)
My first simple e-mail validator regex :)
Submitted by
anonymous
-
3 years ago
0
Match using named groups in .NET (C#)
.NET 7.0 (C#)
Developed for posh-git
Submitted by
marckassay
-
2 years ago
0
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
.NET 7.0 (C#)
Match all filenames in any URL including those with ANSI escaped characters (dotNET version)
Submitted by
The Fourth Bird
-
2 years ago
(Last modified 2 years ago)
0
Ipv4 with optional port
.NET 7.0 (C#)
ipv4 with optional port
Submitted by
anonymous
-
2 years ago
0
No leading or trailing spaces
.NET 7.0 (C#)
No leading or trailing spaces
Submitted by
anonymous
-
2 years ago
1
2
3
...
6
Community Library Entry
15
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
11 years ago