Regular Expressions 101

Sponsors

Library entries

0
pcre2

Octal regex

Octal regex
Submitted by anonymous - 9 months ago
0
pcre2

thx hjpotter

Thanks
Submitted by hjpotter92 - 9 months ago
0
pcre2

Coordinates Validation

This is for validating coordinates
Submitted by anonymous - 9 months ago
0
pcre2

alphabet and number allowed

/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by anonymous - 8 months ago
0
pcre2

url check

check for urls
Submitted by naxmefy - 8 months ago
0
pcre2

HealthMatch Wordpress specialists index

Specialists index
Submitted by anonymous - 8 months ago
0
pcre2

Latex Quotes

Convert "text" to ``text''
Submitted by anonymous - 8 months ago
0
pcre2

IBM MQ Log Parser

Breaks the IBM MQ Log into records.
Submitted by James Phillips - 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 - 8 months ago