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 3,660 community submitted regex patterns...
2
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
10 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
2
Date validator for mm/dd/yy
ECMAScript (JavaScript)
no description available
Submitted by
Dheeraj Khushalani - dotnetguy.net
-
10 years ago
2
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
11 years ago
2
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
10 years ago
2
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
10 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago
2
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
9 years ago
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
9 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Match at least 2-letters (international)
ECMAScript (JavaScript)
RegExp to match that user has entered at least 2-letters (including international letters) in a field
Submitted by
anonymous
-
9 years ago
2
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
9 years ago
2
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
anyword plus word
ECMAScript (JavaScript)
no description available
Submitted by
7 HJ
-
9 years ago
2
URI without Trailing Slash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
src of img tag
ECMAScript (JavaScript)
get contents of src attribute
Submitted by
me
-
9 years ago
2
identity
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Messages.properties language file validator
ECMAScript (JavaScript)
no description available
Submitted by
spec4u.net
-
9 years ago
2
Telefoonnummer
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
170
171
172
173
174
...
183
匹配中文数字,用于逆向文本标准化
0
Regular Expression
Python
r"
(
[
a
-
z
]
\s
*
)?
(
(
[
零幺一二两三四五六七八九十百千万点比
]
|
[
零一二三四五六七八九十
]
[
]
|
(?<=
[
一二两三四五六七八九十
]
)
[
年月日号
]
|
(
分之
)
)+
(
(?<=
[
一二两三四五六七八九十
]
)
[
a
-
zA
-
Z年月日号个只分万亿秒
]
|
(?<=
[
一二两三四五六七八九十
]
\s
)
[
a
-
zA
-
Z
]
)?
(?(1)
|
(?(5)
|
(
[
零幺一二两三四五六七八九十百千万亿点比
]
|
(
分之
)
)
)+
)
)
"
xig
Open regex in editor
Description
大部分应当匹配的数字都匹配上了。
第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
a year ago