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,780 community submitted regex patterns...
0
Get Client
PCRE2 (PHP >=7.3)
Parse Client type
Submitted by
ben
-
3 years ago
0
Json Starts With Keys
PCRE2 (PHP >=7.3)
Regex for checking if JSON starts with desired keys Useful for validating/filtering database entries when used in combination with SQL Like Example: Postgre: select * from table_name where column_json ~ '^\{[\s]\"(tab1|tab3|tab5)".'
Submitted by
MUA
-
3 years ago
0
Hora formato am/pm hh:mm am/pm
PCRE (PHP <7.3)
Valida el formato de hora hh:mm am/pm
Submitted by
Felipe silva
-
3 years ago
0
Capture Groups: Any number in between slashes followed by anything
PCRE2 (PHP >=7.3)
Two groups. One of digits in between slashes (e.g. '/5/') followed by any text
Submitted by
Leonardo Marcelino Vieira
-
3 years ago
0
reg
PCRE2 (PHP >=7.3)
reg
Submitted by
inj
-
3 years ago
0
get the matching text starting from [** to /.md
PCRE2 (PHP >=7.3)
get the matching text starting from [** to /.md
Submitted by
anonymous
-
3 years ago
0
Filter 4, 10 digits and email
Golang
Test
Submitted by
gert rohde
-
3 years ago
0
Parse Received header on email
PCRE2 (PHP >=7.3)
Parse Received header on email
Submitted by
anonymous
-
3 years ago
0
Match questions
PCRE2 (PHP >=7.3)
To debug pasted questions with options
Submitted by
anonymous
-
3 years ago
0
regex for the minute part of crontab
PCRE2 (PHP >=7.3)
hopefully matches all variations of the minute part of a crontab. working on the other parts soon
Submitted by
nick g
-
3 years ago
0
match all printable basic ASCII characters in c++
PCRE2 (PHP >=7.3)
match all printable basic ASCII characters in c++ #include #include #include ...
Submitted by
zhongmeng Yu
-
3 years ago
0
Match all words
PCRE2 (PHP >=7.3)
extracts all word char sequences from given text
Submitted by
anonymous
-
3 years ago
0
Match Dates
PCRE2 (PHP >=7.3)
extracts dates from text; Valid date format: dd-MMM-yyyy
Submitted by
anonymous
-
3 years ago
0
Email Validation
PCRE2 (PHP >=7.3)
Writes a regular expression that performs simple email validation An email consists of: username @ domain name Usernames are alphanumeric Domain names consist of two strings, separated by a period Domain names may contain only English letters ...
Submitted by
anonymous
-
3 years ago
0
reg
PCRE2 (PHP >=7.3)
r
Submitted by
anonymous
-
3 years ago
0
IMPORTANT REGEX
PCRE2 (PHP >=7.3)
important
Submitted by
anonymous
-
3 years ago
0
Match Number in a string
PCRE2 (PHP >=7.3)
That's all
Submitted by
anonymous
-
3 years ago
0
us-phone-number
PCRE2 (PHP >=7.3)
phone
Submitted by
Me
-
3 years ago
0
Basic Hex Capture
PCRE2 (PHP >=7.3)
Parses string to extract all hex codes in square brackets along with the text after
Submitted by
anonymous
-
3 years ago
0
Alluxio metrics
PCRE2 (PHP >=7.3)
alluxio metrics
Submitted by
anonymous
-
3 years ago
1
...
503
504
505
506
507
...
589
sensor
0
Regular Expression
PCRE2 (PHP >=7.3)
/
SensorId=
(?<sensorId>
[^
]
+
)
.
*
Type=
(?<type>
[^
]
+
)
.
*
Unit=
(?<unit>
[^
]
+
)
.
*
Granularity=
(?<granularity>
[^
]
+
)
/
gm
Open regex in editor
Description
sensor
Submitted by
anonymous
-
3 years ago