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 11,840 community submitted regex patterns...
1
Mi detector de urls
PCRE (PHP <7.3)
Es mi intento por detectar urls
Submitted by
Oscar David Díaz Fortaleché
-
9 years ago
1
Cisco FastEthernet Ports 1-12
PCRE (PHP <7.3)
This regex will grab all Cisco-style FastEthernet ports from 1 to 12
Submitted by
@LookLittleJohn
-
9 years ago
1
Cisco FastEthernet Ports 13-24
PCRE (PHP <7.3)
This regex captures Cisco-style FastEthernet ports 13-24
Submitted by
@looklittlejohn
-
9 years ago
1
YES!
PCRE (PHP <7.3)
no description available
Submitted by
Nayan
-
9 years ago
1
Pure-Ftpd Log Action
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ddd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Разбор имен Валмакс RL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Email validator PHP
PCRE (PHP <7.3)
Validate all posible combinations with western and cyrilic chars.
Submitted by
hudsonvsm
-
9 years ago
1
1c document numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Pulling values from weblog
PCRE (PHP <7.3)
Pulling specific values from weblog. In this case, the OS.
Submitted by
SC
-
9 years ago
1
CronSchedule Verifier
PCRE (PHP <7.3)
Verifies a cron schedule pattern such as: 10:45 or multiple times such as: 11:00 22:10 23:15
Submitted by
Michael Sundgaard
-
9 years ago
1
email matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Validate cron schedule string
PCRE (PHP <7.3)
Validates a string for valid cron schedules such as 10:45, 11:15 etc.
Submitted by
Michael Sundgaard
-
9 years ago
1
url match
PCRE (PHP <7.3)
match the most common url stuctures
Submitted by
whoevor
-
9 years ago
1
a
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Extract PORT from URL
PCRE (PHP <7.3)
Extract port from URL
Submitted by
anonymous
-
9 years ago
1
Replace second grouping with first
PCRE (PHP <7.3)
Identifies two groups, each group using a regex, then replaces group 2 with group 1.
Submitted by
Stuart Shannon
-
9 years ago
1
afadfad
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Test CCPR message
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
BinarSkugga's Language Variable Parser
PCRE (PHP <7.3)
Detect and cut lines containing variables.
Submitted by
BinarSkugga
-
9 years ago
1
...
55
56
57
58
59
...
592
match URL slug
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[^
\s
!?.
\/
.*#|
]
+
$
/
gm
Open regex in editor
Description
as per this question
https://stackoverflow.com/questions/19256323/regex-to-match-a-slug
Submitted by
aurovrata
-
3 years ago
(Last modified 3 years ago)