Regular Expressions 101

Sponsors

Library entries

1
pcre

Find function

no description available
Submitted by Deepak Subramanian - 7 years ago
1
pcre

Working Blob match

no description available
Submitted by anonymous - 7 years ago
1
javascript

---

Submitted by rs - 7 years ago
0
pcre

simple json key value pair parser

no description available
Submitted by amlang - 7 years ago
1
pcre

json key value finder

no description available
Submitted by amlang - 7 years ago
1
pcre

only contains selected static classes

no description available
Submitted by anonymous - 7 years ago
1
python

me

me
Submitted by me - 7 years ago
1
pcre

0185ac1

no description available
Submitted by anonymous - 7 years ago
1
pcre

IFS addToGroup Match

no description available
Submitted by anonymous - 7 years ago
1
python

me

paypal accounts
Submitted by jhon - 7 years ago
1
pcre

All Ip's

no description available
Submitted by Tyc - 7 years ago
1
javascript

matching inline note

no description available
Submitted by anonymous - 7 years ago
2
pcre

comment

no description available
Submitted by anonymous - 7 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