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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 11,860 community submitted regex patterns...
-2
smargs
PCRE2 (PHP >=7.3)
smargs not margins
Submitted by
rkatz
-
3 years ago
-2
Quizzes Feedpager – XML
PCRE (PHP <7.3)
Matches the XML pages of the /quizzes routes for feedpager
Submitted by
anonymous
-
2 years ago
-2
Conventional Commits commit regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
2 years ago
-2
PHP Serialization String Validator
PCRE (PHP <7.3)
PHP serialize / unserialize __sleep __wakeup __serialize __unserialize
Submitted by
Abdullah Pazarbasi
-
a year ago
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago
-4
XmlnsDefinition
PCRE (PHP <7.3)
Get ClrNamespace and optional AssemblyName from XmlnsDefinition in xaml
Submitted by
Ivanov Anton
-
8 years ago
-4
Xml parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. Apply same pattern on capture group #3 (using recursion) to parse entire xml! Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-4
Xml Parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-4
Working With Data regex sample text
PCRE2 (PHP >=7.3)
This is a sample text for use at my "Working With Data" workshop session on regular expressions.
Submitted by
anonymous
-
3 years ago
0
Tele
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
0
Single Mustache
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Regex for parsing function command line arguments
PCRE (PHP <7.3)
How i can parse the following function command line: The separtor is (\s-\w\s) like -c or -d or -n C:/my app/bin/Reader.dll -n Proc_20ms -c C:/Users/Braun/Desktop/test.csv -t Continue the simulation from the first line of the csv-file -j none -V errors and warnings (default) -d , to: ...
Submitted by
Braun
-
9 years ago
0
Numéro téléphone portable
PCRE (PHP <7.3)
prend en compte les +33 requiert un début par 06 ou 07 accepte les séparateurs de type "." ou " "
Submitted by
brad.inside@gmail.com
-
9 years ago
0
Check_Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Search for progressive download numbre
PCRE (PHP <7.3)
no description available
Submitted by
Antonio Malatesta
-
9 years ago
0
If a line seems valid phone number, change to common format
PCRE (PHP <7.3)
Let's say a phone number is valid in case it has 11 digits (or 13 in case we use 00 instead of + ). Take those lines to common format. original idea was to remove all non-digit characters from those lines with simple match like but combined with look-ahead it just did not work, had to go through ea...
Submitted by
zolo
-
9 years ago
0
Find all Internet Explorer 11.x pkgmgr packages
PCRE (PHP <7.3)
This regex can be used to find all of the packages (.mum) files in the WINDIR%\servicing\Packages directory. I used it to remove the update packages from Winodws 7 pkgmgr /up:"filename" /norestart /quiet
Submitted by
Pressanykey
-
9 years ago
0
UK Companies Registration Number
PCRE (PHP <7.3)
Checks that the number and optional prefix submitted are in a valid UK Companies House format.
Submitted by
Steve Haworth
-
9 years ago
0
Most SAS boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
9 years ago
0
SAS Boundaries version 3
PCRE (PHP <7.3)
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
9 years ago
1
...
239
240
241
242
243
...
593
Working With Data regex sample text
-4
Regular Expression
PCRE2 (PHP >=7.3)
/
Hello
world!
/
gm
Open regex in editor
Description
This is a sample text for use at my "Working With Data" workshop session on regular expressions.
Submitted by
anonymous
-
3 years ago