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,500 community submitted regex patterns...
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
6 months ago
1
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
6 months ago
1
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
6 months ago
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
6 months ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
6 months ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
6 months ago
1
LNAV Format for Salt Log File
Python
Beginnings of defining a log format for Salt to use within LNAV. https://docs.lnav.org/en/latest/formats.html
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
7 months ago
1
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
7 months ago
1
groupping math every 2 comma separator
PCRE (PHP <7.3)
i have paste \n after every 2-th comma using sed sed 's/\(\(*,\)\{2\}\)/\1\n/g'
Submitted by
sanekmihailow
-
7 months ago
1
Remove specific parameter from URL
PCRE (PHP <7.3)
This pattern finds a parameter (sst) key + value in a GET request URL. When replaced with an empty string, effectively removes the parameter. Works with both full URLs and isolated query strings. Works in PCRE and PCRE2. Full use case: if (isset($_GET["sst"])) { // validate...
Submitted by
Martin Holt
-
7 months ago
(Last modified 7 months ago)
1
Opportunity Close
PCRE (PHP <7.3)
Prepare batch job for opportunity close
Submitted by
wistlo
-
7 months ago
1
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
Adds custom prefix to tailwind classes
PCRE (PHP <7.3)
Or any other particular case where given any line that starts with the pattern "@apply" (or any other line heading) and it substitutes any word (list of characters without spaces), with or without puntuation in them, and it adds a custom prefix to all the words in that line but the line heading.
Submitted by
@drakopablo.dev
-
8 months ago
2
Invalid Windows Filename Chars
PCRE (PHP <7.3)
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file Integer value zero, sometimes referred to as the ASCII NUL character. Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more info...
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
8 months ago
1
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
Submitted by
anonymous
-
8 months ago
1
emoji-test.txt
Python
emoji-test.txt
Submitted by
anonymous
-
8 months ago
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
mikrotik rsc to github
PCRE (PHP <7.3)
convert mikrotik rsc to one line as every rule
Submitted by
sanekmihailow
-
9 months ago
1
2
3
4
...
575
get facebook page id - SMART
0
Regular Expression
Python
r"
\"
__typename
\"
:
\"
Group
\"
,
\"
__isEntity
\"
:
\"
Group
\"
,
\"
__isActor
\"
:
\"
Group
\"
,
\"
id
\"
:
"
gm
Open regex in editor
Description
get facebook page id from html response
Submitted by
anonymous
-
a year ago