Regular Expressions 101

Sponsors

Library entries

0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 6 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 18 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 18 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 18 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 18 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 19 days ago
0
python

恩更

非法发
Submitted by anonymous - 20 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 20 days ago
0
python

SUBTOTAL

SUBTOTAL 15.88
Submitted by KRISHNA - 21 days ago
0
python

DEPIT INFO

K
Submitted by K - 21 days ago
0
python

Regex

wifiwnsml
Submitted by krishabj - 22 days ago
0
python

Log Analysis Google

final project
Submitted by anonymous - a month ago
0
python

find const string in code for xml/java

.
Submitted by anonymous - a month ago
0
python

matlab代码

matlab代码
Submitted by java - a month 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 - 2 years ago