Regular Expressions 101

Sponsors

Library entries

0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 6 months ago
0
pcre2

股票代码

aa
Submitted by vv - 6 months ago
0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 6 months ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 6 months ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 6 months ago
0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - 6 months ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - 6 months ago
0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - 6 months ago
-1
pcre2

is

Hi it is me
Submitted by anonymous - 6 months ago

Grabbing custom structure from markdown

Vote

1

Regular Expression
pcre2

/
\[front\](?<front>(?:(?!\[back\])(?!={3,}\s*)(.|\n))*)\[back\](?<back>(?:(?!\[front\])(?!={3,}\s*)(.|\n))*)(?:={3,}\s*|\z)|\[back\](?<back2>(?:(?!\[front\])(?!={3,}\s*)(.|\n))*)\[front\](?<front2>(?:(?!\[back\])(?!={3,}\s*)(.|\n))*)(?:={3,}\s*|\z)
/
mg

Description

Loading markdown...
Submitted by anonymous - 9 months ago