Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
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)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,300 community submitted regex patterns...
3
Alternative Capture Country Codes
Created
·
2015-01-21 13:59
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Branden
3
How do I write a Regex to inspect Cisco Interfaces
Created
·
2015-04-11 19:39
Flavor
·
PCRE (Legacy)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEthernet1/1 thru 24.\n(.\n). description * Unused Port *.\n(.\n). switchport access vlan 333
Submitted by
Pirates
3
Test a string against CamelCase
Created
·
2015-04-22 03:44
Flavor
·
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
3
images url match in text
Created
·
2015-06-09 00:14
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Redfern.89
3
prices in nis
Created
·
2015-06-15 15:16
Flavor
·
Python
no description available
Submitted by
molaxx
3
Div content
Created
·
2015-06-23 08:44
Flavor
·
PCRE (Legacy)
no description available
Submitted by
mohammadsaleh
3
HH:MM:SS
Created
·
2015-07-27 20:21
Flavor
·
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
3
youtube id und link
Created
·
2015-08-03 12:24
Flavor
·
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
3
URL Regex (protocol strict)
Created
·
2015-08-11 10:49
Flavor
·
ECMAScript (JavaScript)
Includes resource strings, taken from here: https://gist.github.com/dperini/729294
Submitted by
Diego Perini
3
Validate Base64 with new lines (e.g. GPG base64 messages)
Created
·
2015-10-02 09:27
Flavor
·
PCRE (Legacy)
This regular expression validates if given string is formatted in Base64, additional it accepts new lines, since payload can have new lines in it.
Submitted by
wpodgorski
3
Select all number greater than 36
Created
·
2015-10-18 08:30
Flavor
·
PCRE (Legacy)
no description available
Submitted by
Mansoor
3
Extract All Steam Keys
Created
·
2015-10-21 01:53
Flavor
·
PCRE (Legacy)
Extract all Steam Keys from a Given String
Submitted by
Ashesh Kumar
3
Firt letter of names capitalize with exceptions
Created
·
2015-12-04 16:10
Flavor
·
ECMAScript (JavaScript)
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
3
apache access log
Created
·
2016-01-19 14:35
Flavor
·
PCRE (Legacy)
parse the apache access log
Submitted by
pagu
3
Match a valid IPv4 or IPv6 address
Created
·
2016-03-07 13:17
Flavor
·
PCRE (Legacy)
This regular expression will match an IPv4 address as well as both compressed or uncompressed IPv6 address.
Submitted by
Tom Groeneveld, SevOne.com
3
french phone number + match right part
Created
·
2016-04-18 14:25
Flavor
·
PCRE (Legacy)
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
3
JSON recognition
Created
·
2016-04-22 07:11
Flavor
·
PCRE (Legacy)
no description available
Submitted by
anonymous
3
strong password validation
Created
·
2017-07-04 03:44
Flavor
·
PCRE (Legacy)
This regex matches only when all the following are true: password has minimum 2 uppercase letters password has minimum 2 lowercase letters password has minimum 2 numerals (0-9) password has minimum 2 special characters, of the group !@#$%^&*()-_=+{};:, password has no more than 2 consecutive identical characters password is composed of 12 to 20 characters belonging ONLY to the above character classes (i.e., no whitespace)
Submitted by
anonymous
3
Regex tutorial
Created
·
2020-07-01 10:00
Updated
·
2023-07-20 07:05
Flavor
·
Java
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
3
YouTubeVideoUrl
Created
·
2023-01-30 16:07
Updated
·
2023-01-30 16:08
Flavor
·
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
Previous page
1
…
16
17
18
19
20
…
915
Next page