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 18,020 community submitted regex patterns...
0
Python Regex Tutorial
Python
Python Regex Tutorial CS384
Submitted by
Mayank Agarwal
-
2 years ago
0
Prune trailing zeroes.
ECMAScript (JavaScript)
Given a number it will match said number exept any trailing zeroes behind a decimal point or said decimal point if there would be no matched characters behind it. Some applications use trailing zeroes to denote precision. If your application wants to remove said trailing zeroes before displaying the...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
-1
Email
ECMAScript (JavaScript)
validation email
Submitted by
anonymous
-
2 years ago
0
Add Decimals
ECMAScript (JavaScript)
Format numbers with decimals
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
number
PCRE2 (PHP >=7.3)
mã số có 8 kí tự bắt đầu từ 17-22 ///^[1]{1}[7-9]{1}\d{6}$|^[2]{1}[0-2]{1}\d{6}$/gmi
Submitted by
anonymous
-
2 years ago
0
Trim whitespace at beginning and/or end of a line
Python
identifies spaces at the beginning and end of lines. Can be used as a Trim function
Submitted by
Eric Hills
-
2 years ago
0
Nashvile chords
Python
Nashvile chords
Submitted by
Marcos
-
2 years ago
0
regex for email
ECMAScript (JavaScript)
Regex for email with testcase from page https://www.softwaretestingo.com/test-cases-for-email-field/
Submitted by
BanhPow
-
2 years ago
(Last modified 2 years ago)
0
CmdLineRaw
PCRE2 (PHP >=7.3)
CmdLineRaw
Submitted by
anonymous
-
2 years ago
0
Syslog
PCRE2 (PHP >=7.3)
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
2 years ago
0
GF API Scan
PCRE2 (PHP >=7.3)
using gf I wan to scan apis better
Submitted by
Chase Jensen
-
2 years ago
0
group_of_three-with-start-keywords
PCRE2 (PHP >=7.3)
group_of_three-with-start-keywords
Submitted by
Vova Sharaienko
-
2 years ago
0
Extract ICS Codes from string including several wrong formattings
Python
Matches code including character before the code which must NOT be a digit, dot or minus. Therefore, before analyzing a string, add a space in front of it and after analyzing remove the first character of each match. Lookbehind is not used because VBA doesn't support it.
Submitted by
Guido Witt-Dörring
-
2 years ago
(Last modified 2 years ago)
0
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
2 years ago
(Last modified 2 years ago)
0
SDH Subtitle Replace
ECMAScript (JavaScript)
SDH Subtitle Replace
Submitted by
anonymous
-
2 years ago
0
IBAN SPAIN ESPAÑA WITH SPACES
PCRE (PHP <7.3)
IBAN SPAIN WITH SPACES. ES12 1234 4567 8975 4662 (THIS IS AN EXAMPLE)
Submitted by
anonymous
-
2 years ago
0
Match Integromat time
ECMAScript (JavaScript)
Create groups for each part of timecode from Integromat.
Submitted by
Kirsten Jordaan
-
2 years ago
0
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
Submitted by
anonymous
-
2 years ago
0
C#-ifying classes pasted from JSON
PCRE2 (PHP >=7.3)
When pasting JSON payloads, requests or response as C# classes, the casing of property names is not usually idiomatic C#. This regular expression helps transform the property names while adding System.Text.Json.JsonPropertyName attributes to properties to preserve the original names for serialization.
Submitted by
Gareth James
-
2 years ago
0
decode
ECMAScript (JavaScript)
.decode > decode_p2
Submitted by
anonymous
-
2 years ago
1
...
106
107
108
109
110
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<month>
\S
{3}
)?
{1,2}
(?P<day>
\S
+
)
(?P<time>
\S
+
)
(?P<hostname>
\S
+
)
(?P<process>
.
*
?
(?=
:
\[
|
\[
|
\(
)
)
[^
a
-
zA
-
Z0
-
9
]
{1,3}
(?P<pid>
.
+
?
(?=
\]
|
\)
)
|)
[^
a
-
zA
-
Z0
-
9
]
{1,2}
(?P<info>
.
*
)
/
gm
Open regex in editor
Description
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
2 years ago