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,880 community submitted regex patterns...
1
codegolf.SE cops&robbers histocrat#2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
PCRE (PHP <7.3)
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
10 years ago
29
CSV line parsing
PCRE (PHP <7.3)
Captures all fields from a CSV file's line. Can be customized with user-defined field separator and protecting character.
Submitted by
Various
-
10 years ago
1
Test for Ross
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
how to extract that 87% ??
PCRE (PHP <7.3)
hello, using a monitoring software module from sentrysoftware i want to extract and read that value % (87% ). My chances are to read this line (it's a command output: "/dev/u04omnia_lv 100.00 13.33 87% 57 1% /u04/oradata/OMNIA") by columns (but they aren't columns) or with "befor...
Submitted by
Steve
-
10 years ago
1
Movies title extractor
PCRE (PHP <7.3)
Extract the title from a movie file
Submitted by
dshinigami
-
10 years ago
1
Proper-case word separator
PCRE (PHP <7.3)
Takes a string like 'ImageEditHRStuffSomeMOREStuff' and produces -> 'Image Edit HR Stuff Some MORE Stuff'
Submitted by
Michael Keyser
-
10 years ago
1
parse salesforce records
PCRE (PHP <7.3)
parse one column query from sf developer console
Submitted by
anonymous
-
10 years ago
3
Fetch data between curly braces with plain text
PCRE (PHP <7.3)
This regex fetch only the data between content in curly braces (first occurrence, use preg_match_all in php, for all occurrences). This is useful for bad JSON files with wrong format or text between.
Submitted by
shakaran87
-
10 years ago
1
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
ewqewq
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Hostname-Match not found
PCRE (PHP <7.3)
I'm trying to match a hostname input with the following properties: a-z A-Z 0-9 : - are allowed ; doesnot start or end with - ; "." can be used to separate different labels of the hostname. But gives no match for this regex: ^(a-zA-Z0-9|(?<!-)\.(?![-.]))[a-zA-Z0-9]+)?)$...
Submitted by
Revathy
-
10 years ago
1
group & access several lines
PCRE (PHP <7.3)
Hi there, I try to learn and improve my regex knowledge... I want to fetch all lines below the "="-line and between the "-"-lines and access them via $1 - $n. Is this possible? Or should I fetch the whole string below the "="-line and the last "-"-line, then seperate the lines after that in another...
Submitted by
Floffy
-
10 years ago
2
fail2ban real expression for w00tw00t
PCRE (PHP <7.3)
A real fai2ban expression for w00tw00t with alias substitution
Submitted by
MarcD
-
10 years ago
5
Separate words (works with spaces, dashes and underscores)
PCRE (PHP <7.3)
no description available
Submitted by
marcoslhc
-
10 years ago
5
Find All Python imports
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
php input:date yyyy-mm-dd
PCRE (PHP <7.3)
improved "Ahmed Z" regexp. PHP date format (and input[type=text] format date too): YYYY-MM-DD. Year between [1900-2099]. No leap year check. Month 02 is limited to 29 days.
Submitted by
Oropesa
-
10 years ago
2
PAN verification regex
PCRE (PHP <7.3)
Regex to verify PAN in India
Submitted by
Anirban
-
10 years ago
1
Test
PCRE (PHP <7.3)
test
Submitted by
royskatt
-
10 years ago
1
semver
PCRE (PHP <7.3)
Semantic Versioning regex pattern according to Tom Preston-Werner http://semver.org/ https://github.com/mojombo/semver/blob/master/semver.md ...
Submitted by
@gvlx <Gerardo Lisboa>
-
10 years ago
1
...
575
576
577
578
579
...
594
Лямбды для OneScript
1
Regular Expression
.NET 7.0 (C#)
@"
^\s
*
\(
{0,1}
\s
*
(
(
\s
*
[
_a
-
za
-
я
]
[
a
-
z
\d
а
-
яё_
]
*
)
\s
*
,
{0,1}
\s
*
)+
\s
*
\)
{0,1}
\s
*
->
\s
*
(
(?>
.
|
\n
|
\r
)+
)
\s
*
$
"
gmi
Open regex in editor
Description
лямбды для проекта
https://github.com/sfaqer/lambdas
Submitted by
anonymous
-
a year ago