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 11,300 community submitted regex patterns...
1
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ewqewq
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Hostname-Match not found
PCRE (PHP <7.3)
I'm trying to match a hostname input with the following properties: a-z A-Z 0-9 : - are allowed ; doesnot start or end with - ; "." can be used to separate different labels of the hostname. But gives no match for this regex: ^(a-zA-Z0-9|(?<!-)\.(?![-.]))[a-zA-Z0-9]+)?)$...
Submitted by
Revathy
-
9 years ago
1
group & access several lines
PCRE (PHP <7.3)
Hi there, I try to learn and improve my regex knowledge... I want to fetch all lines below the "="-line and between the "-"-lines and access them via $1 - $n. Is this possible? Or should I fetch the whole string below the "="-line and the last "-"-line, then seperate the lines after that in another...
Submitted by
Floffy
-
9 years ago
2
fail2ban real expression for w00tw00t
PCRE (PHP <7.3)
A real fai2ban expression for w00tw00t with alias substitution
Submitted by
MarcD
-
9 years ago
5
Separate words (works with spaces, dashes and underscores)
PCRE (PHP <7.3)
no description available
Submitted by
marcoslhc
-
9 years ago
5
Find All Python imports
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
php input:date yyyy-mm-dd
PCRE (PHP <7.3)
improved "Ahmed Z" regexp. PHP date format (and input[type=text] format date too): YYYY-MM-DD. Year between [1900-2099]. No leap year check. Month 02 is limited to 29 days.
Submitted by
Oropesa
-
9 years ago
-2
link
Python
no description available
Submitted by
NTP-[SADAS]
-
9 years ago
2
PAN verification regex
PCRE (PHP <7.3)
Regex to verify PAN in India
Submitted by
Anirban
-
9 years ago
2
log trillian
Python
no description available
Submitted by
NTP-[SADAS]
-
9 years ago
1
Test
PCRE (PHP <7.3)
test
Submitted by
royskatt
-
9 years ago
1
semver
PCRE (PHP <7.3)
Semantic Versioning regex pattern according to Tom Preston-Werner http://semver.org/ https://github.com/mojombo/semver/blob/master/semver.md ...
Submitted by
@gvlx <Gerardo Lisboa>
-
9 years ago
4
semver
Recommended
PCRE (PHP <7.3)
Semantic Versioning regex pattern according to Tom Preston-Werner http://semver.org/ https://github.com/mojombo/semver/blob/master/semver.md First version of this regex follows semver 2.0.0....
Submitted by
@gvlx <Gerardo Lisboa>
-
9 years ago
1
Europead date or MSSQL Timestamp
PCRE (PHP <7.3)
Matches european dates (DD.MM.YYYY[ HH:MM:SS]) and MS-SQL Timestamp ({ts 'YYYY-MM-DD HH:MM:SS'})
Submitted by
anonymous
-
9 years ago
1
input mandatory title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
webongo
PCRE (PHP <7.3)
webongo test
Submitted by
webongo
-
9 years ago
1
search mailadress
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
Remove HTML tags
PCRE (PHP <7.3)
This regex is used to remove HTML tag on string
Submitted by
Jordane BACHELET
-
9 years ago
1
Mips I-Type Instructions
PCRE (PHP <7.3)
Parses an I-Type Mips instruction. You can add and remove instructions in the list to support more I-Type instructions. Will detect only "addi", "andi" or "ori" as is
Submitted by
lunfel
-
9 years ago
1
...
544
545
546
547
548
...
565
background-image URL
1
Regular Expression
PCRE (PHP <7.3)
/
background
\-
image:
(?:
{1,}
|)
url
(?:
{1,}
|)
\(
[
'|"
]
(
.
*
)
[
'|"
]
\)
/
Open regex in editor
Description
regex to fetch the URL of the background-image CSS-Propertie
Submitted by
Mutator
-
10 years ago