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 18,040 community submitted regex patterns...
0
reset capture
PCRE2 (PHP >=7.3)
reset capture
Submitted by
anonymous
-
2 years ago
0
reset
PCRE2 (PHP >=7.3)
reset
Submitted by
anonymous
-
2 years ago
0
reset1
PCRE2 (PHP >=7.3)
reset1
Submitted by
anonymous
-
2 years ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
2 years ago
0
US Stock Exchange symbols
Python
Regex for Telegram Bot
Submitted by
Lucas Zurverra
-
2 years ago
0
Include non-whitespace
PCRE2 (PHP >=7.3)
Prevents whitespace only string
Submitted by
anonymous
-
2 years ago
0
Superscript symbols and numbers in HTML only where valid.
ECMAScript (JavaScript)
Superscript most symbols and numbers in HTML, but not in actual HTML tags where they also may appear but would create invalid HTML.
Submitted by
Colin Whelan
-
2 years ago
0
Test molecule coverage
Python
Regex to test covered tests
Submitted by
Florian Toulemont
-
2 years ago
0
myRegEx
.NET 7.0 (C#)
myRegEx
Submitted by
Avinash
-
2 years ago
0
测试
PCRE2 (PHP >=7.3)
竭莹用于在json中寻找评论的正则表达式
Submitted by
anonymous
-
2 years ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note...
Submitted by
Edward Rush
-
2 years ago
0
parse sqf defines
Python
parsing armas sqf preprocessor defines
Submitted by
anonymous
-
2 years ago
0
Regex for Mastodon user accounts
PCRE2 (PHP >=7.3)
Based off https://www.regular-expressions.info/email.html
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
regex
PCRE2 (PHP >=7.3)
remove pun
Submitted by
anonymous
-
2 years ago
0
Model Code validator
PCRE2 (PHP >=7.3)
Check the modelCode for iOS/iPadOS devices
Submitted by
ppeelen
-
2 years ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
2 years ago
0
Hour regex
PCRE2 (PHP >=7.3)
Define 24 hour format
Submitted by
anonymous
-
2 years ago
0
12 hours regex
PCRE2 (PHP >=7.3)
Define hour at 12 hours
Submitted by
anonymous
-
2 years ago
0
Route URI match using curly braces syntax
PCRE2 (PHP >=7.3)
This is regex expression for finding route parameters using regex syntax.
Submitted by
Themba Lucas Ngubeni
-
2 years ago
0
Dafne
PCRE2 (PHP >=7.3)
.NSO.HORDIN_XMLDAFNEV..xml
Submitted by
Dorino
-
2 years ago
1
...
854
855
856
857
858
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
(?'scheme'
http
[
s
]
?
)
:
\/\/
)?
(?'host'
[
a
-
z0
-
9_
\-
.
]
+
)
(?:
\:
(?'port'
[
0
-
9
]
+
)
)?
(?'path'
\/
[^
\?
\s
]
*
)?
(?:
\?
(?'query'
\S
+
)
)?
/
gm
Open regex in editor
Description
scheme host port path query
Submitted by
anonymous
-
2 years ago