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 17,800 community submitted regex patterns...
1
Basic CSS Parser
PCRE2 (PHP >=7.3)
This regex matches every name-value pair inside a line of inline CSS. It doesn't support CSS that contains string literals (such as content: "hello world";). Therefore, only use it on simple CSS that doesn't make use of attributes which take a string literal as its value. Parsing Rules Every occur...
Submitted by
A-Paint-Brush
-
33 minutes ago
1
Buscar fechas
PCRE2 (PHP >=7.3)
Buscar fechas
Submitted by
anonymous
-
18 hours ago
1
LIMA
PCRE2 (PHP >=7.3)
diff --git a/tests/models/llama/test_modeling_llama.py b/tests/models/llama/test_modeling_llama.py index 61b33b3ec9ab1..3e84552ab7e21 100644 a/tests/models/llama/test_modeling_llama.py +++ b/tests/models/llama/test_modeling_llama.py @@ -729,11 +729,8 @@ def test_compile_static_cache(self): ...
Submitted by
anonymous
-
2 days ago
1
short IPV4 Capture
ECMAScript (JavaScript)
(?(?:(?:25[0-5]|(?:2[0-4]|1\d|[1-9]|)\d)\.?\b){4}) Originating from ^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$ at only 43 chars Source: Danail Gabenski
Submitted by
0xp
-
3 days ago
1
Teste RISOLUTO button com span ícone
ECMAScript (JavaScript)
Teste
Submitted by
risoluto
-
3 days ago
1
Telegram username
Python
Validates and obtains the Telegram user's username according to the rules for creating usernames
Submitted by
okineadev
-
3 days ago
(Last modified a day ago)
1
myHomeBBEdit
PCRE2 (PHP >=7.3)
modifydata in cvs file
Submitted by
jaladuvar
-
5 days ago
1
Uppercase Consonants - 17 character
PCRE2 (PHP >=7.3)
17 character solution for quiz task 3
Submitted by
Eq
-
6 days ago
1
MT940
PCRE2 (PHP >=7.3)
:61:240831C201843307NINT :61:240833D201843307NINT
Submitted by
anonymous
-
6 days ago
1
Class name validator
ECMAScript (JavaScript)
Validate if class name pass this criteria: A valid name should start with a letter (a-z)[A-Z] , an underscore (_), or a hyphen (-) which is followed by any numbers, hyphens, underscores, letters. A name should be at least two characters long. Cannot start with a digit, two hyphens or a hyphen fo...
Submitted by
Agustín Bouillet
-
8 days ago
1
Egyptian Phone Numbers regex Checker
Python
To check for Egyptian phone numbers using a regular expression Format of Egyptian phone numbers: It starts with 01 (indicating mobile numbers). Followed by one of the following digits representing the mobile provider: 0 for Vodafone. 1 for Etisalat....
Submitted by
Assem ELQersh
-
9 days ago
1
Bitbucket URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a Bitbucket repository or tree URL. Handles both HTTP(S) and direct Bitbucket links.
Submitted by
Xain
-
10 days ago
1
GitLab URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitLab repository or tree URL. Handles both HTTP(S) and direct GitLab links.
Submitted by
Xain
-
10 days ago
(Last modified 10 days ago)
1
GitHub URL Parser
ECMAScript (JavaScript)
A regular expression for extracting the author, repository name, and optional branch from a GitHub repository or tree URL. Handles both HTTP(S) and direct GitHub links.
Submitted by
Xain
-
10 days ago
1
Discord - Command Name
ECMAScript (JavaScript)
Verification of Application Command names for Discord's API. Useful for Discord applications. Source : discord.dev
Submitted by
volcanofr
-
11 days ago
1
Word Pattern
ECMAScript (JavaScript)
Word Patterns - multilanguage Separating words that handle many use cases I needed, more than simple /\bword\b/gi. Below are some targeted test cases and acceptable failed cases: ...
Submitted by
Bryan Ho
-
14 days ago
1
Select first two quoted fields in CSV file
PCRE2 (PHP >=7.3)
In a .csv file where every field is quoted (for whatever reason) select the first two columns
Submitted by
anonymous
-
15 days ago
1
Currency format check, whole or decimal, no symbol, no negative
PCRE2 (PHP >=7.3)
I use this for validation on an input. Currency input that must include comma separation. Decimal places, 2, optional. No minus sign or currency symbols allowed. Valid: 1,000 1,234.56 1,234,555 ...
Submitted by
Truper
-
16 days ago
1
Firewalls Juniper
PCRE2 (PHP >=7.3)
09/21/11 10:47 29 Allow Partner-SQL-eComm 46990 tcp Partner-Web-eComm mysql 19999
Submitted by
vicevil
-
17 days ago
1
Get Plate from text
PCRE2 (PHP >=7.3)
Gettin plate from text (eng-gre)
Submitted by
anonymous
-
17 days ago
1
2
3
...
890
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
\A
[^
,
]
*
(?=
,
)
[^
,
]
*
(?=
,
)
|
(?<=
,
)
[^
,
]
*
|
[^
,
]
+
\Z
/
gm
Open regex in editor
Description
Parse common separated value
Submitted by
Iulian Fecioru
-
a month ago