Regular Expressions 101

Sponsors

Library entries

0
pcre2

Matches to time string: HH:MM

Matches to time string: HH:MM
Submitted by anonymous - 8 months ago
0
pcre2

bad email_regex matcher

Submitted by unknown - 8 months ago
0
pcre2

Postcode

Matches postcodes
Submitted by anonymous - 8 months ago
0
pcre2

Email

1
Submitted by anonymous - 8 months ago
0
pcre2

Họ và tên - Vietnamese Name

1
Submitted by anonymous - 8 months ago
0
pcre2

Tuổi - Age

1
Submitted by anonymous - 8 months ago
0
pcre

http_url_regex

http_url_regex
Submitted by anonymous - 8 months ago
0
pcre2

MPower

match facets sizes
Submitted by simon pa - 8 months ago

IBM MQ Log Parser

Vote

0

Regular Expression
pcre2

/
(?ms)(?<date>[0-9]{1,2}\/[0-9]{1,2}\/[0-9]{4})\s(?<time>[0-9]{2}:[0-9]{2}:[0-9]{2})\s-\sProcess\((?<process>.*?)\)\sUser\((?<user>.*?)\)\sProgram\((?<program>.*?)\)\n\s*Host\((?<host>.*?)\)\sInstallation\((?<installation>.*?)\)\s*VRMF\((?<vrmf>.*?)\)\sQMgr\((?<qmgr>.*?)\)\s*(?<errorCode>AMQ[0-9]{4}):\s(?<errorDesc>.*?)EXPLANATION:\s*(?<explanation>.*?)ACTION:\s*(?<action>.*?)\s-{1,10}\s(?<source>.*?)\s\:\s(?<linenumber>[0-9]{0,4})\s-{50,60}
/
gm

Description

Loading markdown...
Submitted by James Phillips - 9 months ago