Regular Expressions 101

Sponsors

Library entries

0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 6 hours ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - 12 hours ago
0
python

SoundsExtract

extract sounds
Submitted by anonymous - a day ago
0
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - a day ago
0
pcre2

等等

方法
Submitted by anonymous - 2 days ago
0
pcre2

Data URL

Parsing of Data URLs
Submitted by anonymous - 3 days ago
0
pcre2

Phone of 10 and 11 digits

Phone validation
Submitted by anonymous - 4 days ago
0
pcre2

/user/favorites

Url endpoint
Submitted by anonymous - 4 days ago

MBUS Line

Vote

1

Regular Expression
python

"
(?P<time>\d{8}T\d{6}) (?P<rti>.+) (?P<timestamp>\d+)\s?Bus=\s?(?P<bus>.*?)\s?C=\s?0x(?P<cmd>[0-9a-fA-F]{2})\s?S=\s?(?P<status>\w+)\s?RT=\s?(?P<rt>\d+)\s?RDI=\s?0x(?P<rdi>[0-9a-fA-F]{2})\s?EOT=\s?0x(?P<eot>[0-9a-fA-F]{2})\s?Data=\s?(?P<data>([0-9a-fA-F]{2}\s?)*)\s?REPLY=\s?(?P<reply>([0-9a-fA-F]{2}\s?)*)
"
gm

Description

Loading markdown...
Submitted by anonymous - a year ago