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 14,380 community submitted regex patterns...
1
Parse DateTimes
PCRE (PHP <7.3)
Will parse a DateTime and group the results. Probably pretty limited but it works for me.
Submitted by
martin
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
1
HTML Anchor to Markdown Inline Link
PCRE (PHP <7.3)
Extracts the href and title values from an anchor tag to be placed into an inline Markdown link.
Submitted by
Mike Johnson
-
10 years ago
1
LeafletJS filename matcher
PCRE (PHP <7.3)
Regex used to identify location, i.e. URL of the tag that loaded Leaflet (or Mapbox).
Submitted by
cebence
-
10 years ago
1
Sentence matching
PCRE (PHP <7.3)
Match sentences ignore e.g. Fig. z.b. etc
Submitted by
anonymous
-
10 years ago
1
Matching Results List
PCRE (PHP <7.3)
Hello, If you can match the results listed in the right-hand side would be great. Thank you. ...
Submitted by
Ömür Yanıkoğlu
-
10 years ago
1
Triple Quoted String
PCRE (PHP <7.3)
More powerful than python style, this supports things like """" """", which matches totally. Also supports """a""""""b""", where there are two matches: """a""","""b""".
Submitted by
Flaviu
-
10 years ago
1
include case
PCRE (PHP <7.3)
How to include the matched cases in the result?
Submitted by
anonymous
-
10 years ago
1
question regarding "split" like regex group
PCRE (PHP <7.3)
dear all, i am a regex beginner, so please be gentle :) we have lines of log contents delimited by a pipe char. is it possible to fetch the content between the 5th and the 6th delimiter, ignoring the values in between? example log line:...
Submitted by
regexBeginner
-
10 years ago
1
quotes and escapes
PCRE (PHP <7.3)
no description available
Submitted by
zgorawski
-
10 years ago
1
Get all HTML tag names
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
sad smiley
Python
looks for a sad smiley with a backslash
Submitted by
@barraponto
-
10 years ago
1
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
10 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
10 years ago
1
Labels with version numbers
PCRE (PHP <7.3)
Quick studty of labels with version numbers
Submitted by
LC
-
10 years ago
1
E-Mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Number 0-100, 2 decimals
PCRE (PHP <7.3)
A number between 0 and 100 (including them) with up to two decimals. The decimal separator can be . or , . Usefull for percentage.
Submitted by
anonymous
-
9 years ago
1
CEDICT Chinese dictionary line parts
PCRE (PHP <7.3)
Matches the four parts (simplified, traditional, pinyin, definition) of a CEDICT dictionary line
Submitted by
Hugh Grigg
-
9 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
33
34
35
36
37
...
719
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
import
|
export
)
.
*
(
{
[^
{}
]
*
\n
}
)?
.
*
'
(?<file>
.
*
)
'
.
*
$
/
gm
Open regex in editor
Description
find file name on import/export js module
Submitted by
anonymous
-
a year ago