Regular Expressions 101

Sponsors

Library entries

0
pcre

UUID regex

no description available
Submitted by santisaez - 8 years ago
0
pcre

reference

no description available
Submitted by karthikeyan - 8 years ago
0
pcre

Match youtube id

no description available
Submitted by anonymous - 8 years ago
0
pcre

Arabic example

no description available
Submitted by anonymous - 8 years ago
0
pcre

Jeny

132
Submitted by Renderlife - 8 years ago
0
pcre

hhh

Fghh
Submitted by ggj - 8 years ago
0
pcre

aliexpres

test z wyrażeniem regularnym
Submitted by diox - 8 years ago
0
pcre

Tele

no description available
Submitted by Alpha - 8 years ago
0
pcre

TCP/UDP port number

validates TCP/UDP port number (1..65535)
Submitted by sanchox - 8 years ago
0
pcre

webui

webui test
Submitted by Stelsy - 8 years ago
0
pcre

Single Mustache

no description available
Submitted by anonymous - 8 years ago
0
pcre

fgj

no description available
Submitted by anonymous - 8 years ago

fortigate syslog

Vote

0

Regular Expression
pcre

/
^(?<time>[^ ]* [^ ]* [^ ]*) (?<host>[^ ]*) date=(?<forti_date>[^ ]*) time=(?<forti_time>[^ ]*) devname=(?<dev_name>[^ ]*) device_id=(?<dev_id>[^ ]*) log_id=(?<log_id>[^ ]*) type=(?<type>[^ ]*) subtype=(?<subtype>[^ ]*) pri=(?<pri>[^ ]*) vd=(?<vd>[^ ]*) src=(?<src>[^ ]*) src_port=(?<src_port>[^ ]*) src_int="(?<src_int>[^ ]*)" dst=(?<dst>[^ ]*) dst_port=(?<dst_port>[^ ]*) dst_int="(?<dst_int>[^ ]*)" SN=(?<SN>[^ ]*) status=(?<status>[^ ]*) policyid=(?<policy_id>[^ ]*) dst_country="(?<dst_country>[^ ]*)" src_country="(?<src_country>[^ ]*)" service=(?<service>[^ ]*) proto=(?<proto>[^ ]*) duration=(?<duration>[^ ]*) sent=(?<sent>[^ ]*) rcvd=(?<rcvd>[^ ]*)$
/

Description

Loading markdown...
Submitted by ViKing - 7 years ago