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
Community Patterns
Search among 11,520 community submitted regex patterns...
0
XML pretty print
PCRE (PHP <7.3)
This is my attempt at using Regex to "pretty print" a poorly formatted xml file. So far it can indent the contents of a tag a single layer deep
Submitted by
Josh Clark
-
3 years ago
0
Rest URL Param 2
PCRE (PHP <7.3)
no description available
Submitted by
Raphael Quintao
-
3 years ago
(Last modified 3 years ago)
0
ukrainian university title + email regexp
Python
no description available
Submitted by
dilnix
-
3 years ago
0
Match Microchip xc16 library's PIC24 and dsPIC3x linker script filenames
Python
Created for a Python program that needed to help recognize linker script filenames that resemble those for actual devices in Microchip's 16-bit DSC/MCU family of chips. The regex will match any such filename found in Microchip's xc16 support directory tree, as of xc16 v1.50. (I've actually tested i...
Submitted by
Galen Tackett
-
3 years ago
0
{NS} - Change *ngIf to [visibility]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
3 years ago
0
Frac
Python
frac
Submitted by
anonymous
-
3 years ago
0
Stack Overflow (match only words)
Python
a word is anything valid within a parens (like in a function), but the function itself should not be matched a word may have a numeric at the end or the start there is no guarantee of a single space (or ANY space other than some operators)
Submitted by
Cambuchi
-
3 years ago
0
Fakku Unlimited Regex
PCRE (PHP <7.3)
Im doing this because if love the release not you.
Submitted by
wdangoo
-
3 years ago
0
pig latin translator
Python
turn a sentence into pig latin
Submitted by
krashr-ds
-
3 years ago
0
regex for void javascript functions
PCRE (PHP <7.3)
This only seems to work in atom. This regex only matches functions that don't return anything, as a part of a typescript migration.
Submitted by
anonymous
-
3 years ago
0
Param to Batch Command
PCRE (PHP <7.3)
Converts Stored Procedure params to a LH batch command list of parameters
Submitted by
Tim John
-
3 years ago
0
ZHWP 防止KC皮草 1
Python
阻擋「CAT:×××家族」
Submitted by
anonymous
-
3 years ago
0
android imports filter
Python
separates 3rd party imports from the official ones
Submitted by
anonymous
-
3 years ago
0
test
Python
test
Submitted by
test
-
3 years ago
0
identify pseudocode do while until loop
PCRE (PHP <7.3)
identify pseudocode do while until loop
Submitted by
anonymous
-
3 years ago
0
Singapore UEN
PCRE (PHP <7.3)
Should match all valid UENs but doesn't check Entity Type is valid. Based on: https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx
Submitted by
Harry Gordon
-
3 years ago
(Last modified 3 years ago)
0
valid time check
Python
written as a part of the Coursera interacting with the OS course offered via Google
Submitted by
anonymous
-
3 years ago
0
Verify Cambodian mobile phone number(柬埔寨手机号码正则)
PCRE (PHP <7.3)
国家:Cambodia 中文名称:柬埔寨 区域码:+855 手机号位数:8或9 号段:10-18 其他号段:31、38、60、61、66-71、76-78、80、81、83-89、90-93、95-99...
Submitted by
7kk
-
3 years ago
0
Verify Indian mobile number(印度手机号码正则)
PCRE (PHP <7.3)
国家:India 中文名称:印度 区域码:+91 手机号位数:10 号段:7503、7504、8000、900 eg:+91 9001234567
Submitted by
7kk
-
3 years ago
1
...
533
534
535
536
537
...
576
Simple Telephone number(America/Canada)
2
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{3}
[
\
]
{0,1}
[
0
-
9
]
{3}
[
\
]
{0,1}
[
0
-
9
]
{4}
$
/
Open regex in editor
Description
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
9 years ago