Regular Expressions 101

Sponsors

Library entries

1
pcre

SVG Height

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

gasmeter

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

digit

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

Remove Dangerous HTML Tags

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

compile -> link replace

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

url(../xxx/xxx.jpg)

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

vyhledávání proměnných

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

test

I want to remove spaces in a=(), but not inside others
Submitted by mimooh - 7 years ago
1
pcre

Roving Robot

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

phone

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

direct log

capture word before error
Submitted by anonymous - 7 years ago
1
pcre

weekRegex

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

fortigate_60B

Vote

1

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