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 9,420 community submitted regex patterns...
0
Whitespace agnostic variable declaration (Python re compatible)
PCRE (PHP <7.3)
Define variables in existing text documents. One variable per line
Submitted by
Janelle Weber
-
3 years ago
(Last modified 3 years ago)
0
Import products
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Trim leftLeading and righEnding spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
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
{NS} - Change *ngIf to [visibility]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
artifactory-request
Golang
no description available
Submitted by
Scott Barnes
-
3 years ago
0
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
3 years ago
(Last modified 10 months ago)
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
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
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
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
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
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
1
...
455
456
457
458
459
...
471
Param to Batch Command
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
@
(?<param>
\S
+
)
.
+
$
/
gm
Open regex in editor
Description
Converts Stored Procedure params to a LH batch command list of parameters
Submitted by
Tim John
-
3 years ago