Regular Expressions 101

Sponsors

Library entries

0
pcre

<a href="some-link">

no description available
Submitted by anonymous - 6 years ago
0
javascript

Carte bancaire

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

Find JSON strings in a string

From StackOverflow
Submitted by anonymous - 6 years ago
0
pcre

Support

no description available
Submitted by anonymous - 6 years ago
0
javascript

email_validation

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

Email Validator

Validates email free domain specific email id
Submitted by anonymous - 6 years ago
0
pcre

URL Validator

Validates everywhere.
Submitted by anonymous - 6 years ago
0
javascript

Website Address Check

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

O3B Logical System

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

Match Text in an xml tag

no description available
Submitted by anonymous - 6 years ago

asus firewall

Vote

1

Regular Expression
pcre

/
\s+(?P<tst_dvc>[^\s]+)\s+\w{3}\s+\d{1,2}\s+\d{2}\:\d{2}\:\d{2}\s(?P<tst_cmd>[^:]+):\s+(?P<tst_action>[^\s]+)\s+<\d>(?P<tst_action2>[^\s]+)\s+IN=(?P<tst_in_if>[^\s]+)\s+OUT=(?P<tst_out_if>[^\s]+)\s+<\d>(?P<tst_src_ip>[^\s]+)\s+DST=(?P<tst_dest_ip>[^\s]+)\s+<\d>LEN=(?P<tst_len>[^\s]+)\s+TOS=(?P<tst_tos>[^\s]+)\s+PREC=(?P<tst_prec>[^\s]+)\s+TTL=(?P<tst_ttl>[^\s]+)\s+ID=(?P<tst_id>[^\s]+)\s+(DF\s+|\s+)PROTO=(?P<tst_proto>[^\s]+)\s+<\d>SPT=(?P<tst_src_port>[^\s]+)\s+DPT=(?P<tst_dest_port>[^\s]+)\s+
/
g

Description

Loading markdown...
Submitted by gs - 6 years ago