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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
0
iTunes Library file names for TV Shows convert to Infuse like style
PCRE (PHP <7.3)
Extract from iTunes TV Show file name season and episode numbers and episode name and convert to Infuse style. 3-01 Wait for It.mp4 => How I Met Your Mother S3E01 Wait for It.mp4
Submitted by
anonymous
-
8 years ago
0
Shorten Names:Find all the words in a string that start with a specific character.
PCRE (PHP <7.3)
Find all the words in a string that start with a specific character.
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Date3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
FontAwesome CheatSheet to Array
PCRE (PHP <7.3)
Clean and convert FontAwesome CheatShee into array with "class" name and "unicode" code. Copy cheatsheet from FontAwesome CheatShee and paste on "test string".
Submitted by
Mirdani Handoko
-
8 years ago
0
work
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
Check mysql Date
PCRE (PHP <7.3)
Valid format YYYY-MM-DD
Submitted by
anonymous
-
8 years ago
0
FunAndRace - Check Old Category Url
PCRE (PHP <7.3)
no description available
Submitted by
jordan
-
8 years ago
0
Maximo ME
PCRE (PHP <7.3)
https://regex101.com/r/qCvqMo/1
Submitted by
anonymous
-
8 years ago
0
class names within a certain folder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Datum
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Get rid of extra zeros in ip addresses.
PCRE (PHP <7.3)
0127.000.00.01 turns to 127.0.0.1
Submitted by
anonymous
-
8 years ago
0
Validate Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
E-mail
PCRE (PHP <7.3)
no description available
Submitted by
lexus27.khv@gmail.com
-
8 years ago
0
Irc Reply Codes
PCRE (PHP <7.3)
RFC 1459 and 2812 Reply Codes
Submitted by
anonymous
-
8 years ago
0
get rid of closing html tags
PCRE (PHP <7.3)
Example: RegEx: \W\W[[:lower:]]+\W Provides full match
Submitted by
h0neybadg3r
-
8 years ago
0
Everything until
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Sku from filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
rcf
PCRE (PHP <7.3)
drcfkjr
Submitted by
me
-
8 years ago
0
title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
price
PCRE (PHP <7.3)
no description available
Submitted by
marina
-
8 years ago
1
...
395
396
397
398
399
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
[^
\n\s
]
+
)
(?:
[
\s
]
)
(
[^
\n\s
]
+
)
(?:
[
\s
]
)
#(?:([^\n\s]+))?(?:[\s])?
(?:
(
[^
:
\n
]
+
)
(?:
[
:
]
)
(
[^
\s\n
]
+
)
(?:
[
\s
]
+
)
(
[^
\n
]
*
)
$
|
(
[^
\n\s
]
+
)?
(?:
[
\s
]
)?
$
)
/
gmixX
Open regex in editor
Description
[!]
Submitted by
anonymous
-
5 years ago