Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Full amount, with comma, 2 decimal places
Valid: 0.00 123.12 123,123,123.12 123,123,123,123.00 ...
Submitted by
Benji W J YANG
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Percentage with 2 decimal places
Valid: +100.00% -100.00% +2.00% -22.00% +2.99%...
Submitted by
Benji W J YANG
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Email Verification
valid: benji_yang@basic.cn benji.yang@roolbox.com benji-yang@gmail.org invalid:...
Submitted by
Benji W J YANG
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Mail TIGF
no description available
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Word filter
This regex matches up with the word rape, even if accent marks are used.
Submitted by
Ethan Lawrence
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Meetup Event URL
Allowed URL patterns for Meetup.com events
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Check if string matches a valid CSS color (hex, rgb, rgba, hsl, hsla)
no description available
Submitted by
Ioannis Potouridis
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Regex to group output of $(ip addr) interface
For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
golang
Extract columns names from any select query
This regex can capture any column name from a select query. Be the original name, like are named on table, renamed with a reserved word AS or even without explicit AS. Go on, and test with your query ;)
Submitted by
Jefferson Gouveia
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
GIT URL
no description available
Submitted by
UNKNW
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Match Decimal allow single leading/tailing 0
Matches a decimal, but only allows for leading/tailing Zeros if they are the first digit to precede or follow the decimal point
Submitted by
Doom87er
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
UK Telephone Numbers
no description available
Submitted by
Riaan Joubert
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
从一个时间段中提取末尾时间点
支持仅有日期
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Regex for JavaScript Templating
Selects everything between two pairs of curly braces
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Find CSS hexadecimal color values
no description available
Submitted by
anonymous
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
alineas-ocorrencias
Regex que captura ocorrências "semelhantes" a : 'alinea a', 'alineas a', 'alinea "a"', 'ali. "a"',...
Submitted by
maffei2443
-
5 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Browser Console - Format Specifier
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Browser Console - Format Specifier
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
VS Code - Stylus Problem Matcher
no description available
Submitted by
anonymous
-
2 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
1G
no description available
Submitted by
anonymous
-
2 years ago
1
...
249
250
251
252
253
254
255
...
277
Div shortcode [div]..[/div]
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
javascript
/
\[
div
(?:
\s
id=
[
"|'
]
(
.
*
?
)
[
"|'
]
)?
(?:
\s
class=
[
"|'
]
(
.
*
?
)
[
"|'
]
)?
\]
(
.
*
?
)
\[\/
div
\]
/
gms
Open regex in editor
Description
Loading markdown...
Submitted by
Dux Linux
- 2 years ago