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 13,780 community submitted regex patterns...
0
Spotify ID regex
PCRE (PHP <7.3)
Spotify ID regex
Submitted by
anonymous
-
2 years ago
0
AsciiDoc delimited block quote
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/ only basic syntax
Submitted by
aisbergde
-
2 years ago
0
E
PCRE2 (PHP >=7.3)
E
Submitted by
anonymous
-
2 years ago
0
demo
PCRE2 (PHP >=7.3)
regex grouping demo
Submitted by
Lidro
-
2 years ago
0
AsciiDoc unordered list
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc line comment
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/comments/
Submitted by
aisbergde
-
2 years ago
0
AsciiDoc attribute definition
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
Attribute reference
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
2 years ago
0
Auth.log Parsing
PCRE2 (PHP >=7.3)
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
2 years ago
(Last modified 2 years ago)
0
租赁
Python
租赁
Submitted by
租赁
-
2 years ago
0
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
2 years ago
0
Match CSS Gradients
PCRE2 (PHP >=7.3)
Match CSS Gradients
Submitted by
Sean Dellis
-
2 years ago
(Last modified 2 years ago)
0
Variables 2
PCRE (PHP <7.3)
chingo de cheves y desmadre
Submitted by
anonymous
-
2 years 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
-
2 years ago
(Last modified 2 years ago)
0
add _&_ between numbers
PCRE2 (PHP >=7.3)
adds (space)&(space) between numbers
Submitted by
_
-
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
Commit Message
PCRE2 (PHP >=7.3)
Commit Message Regex for commit messages used internally at Exe-Squared
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
iCAL v3
PCRE2 (PHP >=7.3)
iCAL
Submitted by
Appenjel
-
2 years ago
(Last modified 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 a year ago)
1
...
646
647
648
649
650
...
689
Shortcode parser
3
Regular Expression
PCRE (PHP <7.3)
/
(?P<shortcode>
(?:
(?:
\s
?
\[
)
)
(?P<name>
[
\w
\-
]
{3,}
)
(?:
\s
(?P<attrs>
[
\w\d
,
\s
=
\"\'\-\+\#\%\!\~\`\&\.
\s
\:\/\?\|
]
+
)
)?
(?:
\]
)
(?:
(?P<html>
[
\w\d
\,\!\@\#\$\%\^\&\*\(\\
)
\s
\=\"\'\-\+\&\.
\s
\:\/\?\|\<\>
]
+
)
(?:
\[\/
[
\w
\-\_
]
+
\]
)
)?
)
/
ug
Open regex in editor
Description
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago