Regular Expressions 101

Sponsors

Library entries

0
pcre2

Get first value in xml tag

/^(label=\")(.+)(" length.*)(\/>)/gm
Submitted by Stephen - 6 months ago
0
pcre2

get .tbpa coins

hmm
Submitted by SrB - 6 months ago
0
pcre2

Tên Tiếng Việt

Tên Tiếng Việt
Submitted by anonymous - 6 months ago
0
javascript

Iran Mobile Regex

09...
Submitted by anonymous - 6 months ago
0
pcre2

Extract Span Tag Content

Extract Content in SPAN tag
Submitted by Byron Lai - 6 months ago
0
pcre2

aaa

aaa
Submitted by anonymous - 6 months ago
0
pcre2

email

validate email
Submitted by anonymous - 6 months ago
0
pcre2

Email Validation Regex

To validate email.
Submitted by anonymous - 6 months ago
0
pcre2

My lib

ceci est ma lib
Submitted by anonymous - 6 months ago
0
pcre2

Email test

email test
Submitted by anonymous - 6 months ago

mysql slow log parse for aws log insights

Vote

0

Regular Expression
javascript

/
# Time:\s(?<timestamp>.*)\n#.*Id:\s(?<id>.*)\n#\sQuery_time:\s(?<duration>[\d.]*)\s.*time:\s(?<lock_time>[\d.]*)\s.*_sent:\s(?<returned>\d*)\s.*_examined:\s(?<searched>\d*)\n(?<sql>[\s\S]*)
/
gm

Description

Loading markdown...
Submitted by Frank Baxter - a year ago