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 7,840 community submitted regex patterns...
1
Match initials
Python
Match initials of a person name
Submitted by
anonymous
-
9 years ago
3
Match a URL from a text message
ECMAScript (JavaScript)
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago
1
Regex for matching assignments
ECMAScript (JavaScript)
Match the java assignments and get the assigned value
Submitted by
mohamedrias
-
9 years ago
1
jsDoc Parameter Splitter
ECMAScript (JavaScript)
Finds parameters in jsDocs (parameters are sections of information starting with @ and only appear in a block after free floating text
Submitted by
anonymous
-
9 years ago
1
regex to get N words from a line
ECMAScript (JavaScript)
usefull if you want to return (N) words instead of (N) chars
Submitted by
Pavel Dominguez
-
9 years ago
6
search word with an accent
ECMAScript (JavaScript)
search any word with an accent
Submitted by
Thegner Pierre
-
9 years ago
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Wikipedia anchor
ECMAScript (JavaScript)
Match Wikipedia anchor dot-instead-of-percent encoding string.replace(/((?:\.[a-f0-9]{2}){2})/ig, function(match) { return decodeURIComponent(match.replace(/\./g, '%')) });
Submitted by
anonymous
-
9 years ago
0
firefox session parser
Python
retrieve data of firefox .session files
Submitted by
artemisart
-
9 years ago
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
youtube link
ECMAScript (JavaScript)
+ link + id
Submitted by
ogerly
-
9 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
9 years ago
5
MAC address
ECMAScript (JavaScript)
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago
2
Prime numbers test
Python
Given a number N represented by its unary form N(1), when RegEx doesn't match N(1), N is prime
Submitted by
LexDias
-
9 years ago
0
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Square_Brackets
ECMAScript (JavaScript)
no description available
Submitted by
Connor Goddard
-
9 years ago
1
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Pattern
ECMAScript (JavaScript)
This regular expression is designed to work with character-delimited strings, and provides a means to specify the index of delimiter occurrence at which content is extracted.
Submitted by
Connor Goddard
-
9 years ago
1
Absolute Date format
ECMAScript (JavaScript)
no description available
Submitted by
Jesse Benton
-
9 years ago
1
...
364
365
366
367
368
...
392
Audit cleanup
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(
:
\n\s
)
)
(?:
\s
|
\n
|
(?:
.
(?!
modern
)
)*
)*
/
gm
Open regex in editor
Description
This cleans up the search results from VSCode so that we can paste the file list into Google Sheets.
Submitted by
anonymous
-
a year ago