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 9,740 community submitted regex patterns...
0
Replace letters in email address
PCRE (PHP <7.3)
Replace letters in email address but left the first and last letter before and after @
Submitted by
Kaibo
-
a year ago
0
Search/Replace Pressure sensor calibration
PCRE (PHP <7.3)
Changing from MPa to Bar
Submitted by
anonymous
-
a year ago
0
Find GraphQL queries with missing id
PCRE (PHP <7.3)
It detects the following ` product { brand` and ignores ` product {...
Submitted by
anonymous
-
a year ago
0
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
a year ago
0
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
a year ago
0
Other segment
Java 8
Other segments
Submitted by
Lufram
-
a year ago
0
pxc plcnext
Golang
plcnext version strings
Submitted by
anonymous
-
a year ago
0
Reverse list of ASN.1 OIDs/Short Names/Long Names for X.509 certificates under OpenSSL
PCRE (PHP <7.3)
OIDs are just numbers in the format 1.2.3.4.5.6.7.8.9... Short names are alphanumeric, contiguous descriptions (no spaces, hyphens allowed) Long names can be basically everything (sometimes even UTF-8!) Sometimes, organisations providing the list of 'their' OIDs might reverse the order, for listing...
Submitted by
Gwyneth Llewelyn
-
a year ago
0
Phone number Malaysia RegEx
PCRE (PHP <7.3)
A regular expression of Malaysian phone number I made to be used on a project using flutter.
Submitted by
anonymous
-
a year ago
0
awdwa
Java 8
dwa
Submitted by
dwa
-
a year ago
0
section headers
Java 8
ff
Submitted by
ff
-
a year ago
0
SAP_ECTR_ID
PCRE (PHP <7.3)
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
a year ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
a year ago
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
i++ in bash
PCRE (PHP <7.3)
asdf
Submitted by
anonymous
-
a year ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
0
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
a year ago
0
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
a year ago
0
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
a year ago
1
...
483
484
485
486
487
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