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 8,320 community submitted regex patterns...
0
Attribute reference
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
a year ago
0
Auth.log Parsing
PCRE2 (PHP >=7.3)
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
a year ago
(Last modified a year ago)
0
租赁
Python
租赁
Submitted by
租赁
-
a year ago
0
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
a year ago
0
AsciiDoc block title
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/add-title/
Submitted by
aisberg.de
-
a year ago
0
Minecraft Username
ECMAScript (JavaScript)
Use this RegEx to match a minecraft username JavaEdition only!
Submitted by
qreepex
-
a year ago
0
Match CSS Gradients
PCRE2 (PHP >=7.3)
Match CSS Gradients
Submitted by
Sean Dellis
-
a year ago
(Last modified a year ago)
0
HTML Figure Caption German
PCRE2 (PHP >=7.3)
Finds paragraph with German "Bild # ..." and replaces it with HTML expressions for figure and figure caption surrounding it.
Submitted by
Hans Kannewitz
-
a year ago
(Last modified a year ago)
0
AsciiDoc table
Java 8
https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/
Submitted by
aisbergde
-
a year ago
0
add _&_ between numbers
PCRE2 (PHP >=7.3)
adds (space)&(space) between numbers
Submitted by
_
-
a year 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
-
a year ago
(Last modified a year ago)
0
decode
ECMAScript (JavaScript)
.decode > decode_p2
Submitted by
anonymous
-
a year 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
-
a year ago
0
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
Submitted by
anonymous
-
a year ago
0
Match Integromat time
ECMAScript (JavaScript)
Create groups for each part of timecode from Integromat.
Submitted by
Kirsten Jordaan
-
a year ago
0
SDH Subtitle Replace
ECMAScript (JavaScript)
SDH Subtitle Replace
Submitted by
anonymous
-
a year ago
0
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
a year ago
(Last modified a year 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
-
a year ago
(Last modified a year ago)
0
group_of_three-with-start-keywords
PCRE2 (PHP >=7.3)
group_of_three-with-start-keywords
Submitted by
Vova Sharaienko
-
a year ago
0
GF API Scan
PCRE2 (PHP >=7.3)
using gf I wan to scan apis better
Submitted by
Chase Jensen
-
a year ago
1
...
363
364
365
366
367
...
416
Split HTML string
0
Regular Expression
ECMAScript (JavaScript)
/
(
&
[
A
-
Za
-
z
]
+
?
;
)
|
(
<
.
+
?
>
)
|
(
<
\/
\w
+
>
)
|
(
[
\w
-
]
+
)
|
(
[
~!@#$%^&*()+=?:;"{}
\[\]
|,.
\\
/
]
+
)
/
gm
Open regex in editor
Description
Extracts HTML tags, HTML entities, alphanumeric words, and the rest.
Submitted by
Azmizar
-
8 years ago