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,000 community submitted regex patterns...
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
0
Sanitize percentage input into bare real number
.NET 7.0 (C#)
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
2 years ago
0
find integer not float number
PCRE2 (PHP >=7.3)
such as a line of number: 0.345, 435, 345
Submitted by
anonymous
-
2 years ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
2 years ago
0
Semantic Version (semver)
.NET 7.0 (C#)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
2 years ago
0
GS1-128 and RegEx
PCRE2 (PHP >=7.3)
Parse the 3 groups of a GS1-128 Barcode
Submitted by
Mike D
-
2 years ago
1
...
852
853
854
855
856
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
#
+
\s
*
(
.
*
?
)
\{
#
(
.
*
)
\}
/
gm
Open regex in editor
Description
matches the titles from a markdown starting with #
i.e.
Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
a year ago