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
Community Patterns
Search among 12,000 community submitted regex patterns...
1
comma in brackets
PCRE (PHP <7.3)
select all comma in brackets
Submitted by
the-dreamer
-
8 years ago
1
Poedit Translation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Email
PCRE (PHP <7.3)
Requires any character, @ sign and a period in the extension of the email address
Submitted by
anonymous
-
8 years ago
1
LiveRes
PCRE (PHP <7.3)
Postcode Validation
Submitted by
Dan Manning
-
8 years ago
1
link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Date of Birth
PCRE (PHP <7.3)
no description available
Submitted by
Marcos André
-
8 years ago
1
Detect blank space
PCRE (PHP <7.3)
If regex = true the string contain blank space !
Submitted by
anonymous
-
8 years ago
1
;'
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Find all ASINs in a text
PCRE (PHP <7.3)
ASIN = Amazon Standard Identification Number
Submitted by
NN
-
8 years ago
1
username
PCRE (PHP <7.3)
REGEX to validate field username 3-20 chars
Submitted by
Fernando Migliorini Tenório
-
8 years ago
1
Bloomberg Futures
PCRE (PHP <7.3)
Separates generic and individual bloomberg symbols into 'root', 'month' (or lack of it), 'year' or 'generic contract number' and 'yellow key' Problem is that matches for root are 1 and 4, can't give them save reference or number. Will update if figure out
Submitted by
@TradingMax
-
8 years ago
1
ls -a Linux Output - Parse Filename
PCRE (PHP <7.3)
Parse just the filename from ls -a output on Linux.
Submitted by
Brian Hannan
-
8 years ago
1
Turkish Date (4 digit year) Regex (with leap year control)
PCRE (PHP <7.3)
Following inputs are accepted dd.mm.yyyy while 29.02.2016 accepted, 29.02.2017 is not. also some months last days should be 30, not 31 ...
Submitted by
Abdulhamit Mabocoglu
-
8 years ago
1
DDmmyyyy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Improved decimal numbers
PCRE (PHP <7.3)
Decimal numbers matcher with optional matching for exponent (12.4e7) and optional thousand comma separator matches both 1,234.05 and 1234.05. Also matches negative numbers (-1234.05)
Submitted by
Mirco Sanguineti
-
8 years ago
1
Decimal numbers (plus exponent)
PCRE (PHP <7.3)
Matches decimal numbers also with exponent (23.8e12) It does not match silly things like 00000000000.0000000000 as other "decimal number regex"
Submitted by
Mirco Sanguineti
-
8 years ago
1
my first regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Duplicate Properties
PCRE (PHP <7.3)
This regex is to find duplicates in properties- or config-files with '='-separated key value pairs.
Submitted by
vgross
-
8 years ago
1
neudecker regex
PCRE (PHP <7.3)
neudecker regex
Submitted by
joe
-
8 years ago
2
Brazilian number phone
PCRE (PHP <7.3)
no description available
Submitted by
Marcos André
-
8 years ago
1
...
453
454
455
456
457
...
600
get parts of URL
0
Regular Expression
PCRE (PHP <7.3)
/
(?<protokoll>
[
a
-
z
]
*
)
:
\/\/
?
(?<domain>
[
a
-
z.-
]
*
)?
(?<file>
[^
?#
]
*
)?
[
?
]
(?<parameter>
[^
#
]
*
)?
[
#
]
(?<anker>
.
*
)?
/
Open regex in editor
Description
split URL in protokoll, domain, file(with path), parameter and anker
Submitted by
Candyman1332
-
8 years ago