Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3} \(Machine: (?P<MachNo>\d{5})\) (Received:|Sent:) \d*?,(?P<TransType>\w*?),.*$
/
mg
Input 1
2016-10-01 18:40:14.853 (Machine: 00128) Received: 106904,T,2016-10-01 18:40:15,1,19062,302213,2,25 2016-10-01 18:40:14.853 (Machine: 00128) Sent: 106904,T,2016-10-01 18:40:14,0,,0,19062,Ri8CI9f3HPCI7QYYabG5kbjiTB1VObOS 2016-10-01 18:40:14.978 (Machine: 00122) Received: 2976377,L,2016-10-01 18:40:15,3350,0,,0,0,1,10,20,19024,0,376710,7NFMDi99Z5k6SF71OaWj5PBZG7ig3fjZ,0 2016-10-01 18:40:14.994 (Machine: 00122) Sent: 2976377,L,2016-10-01 18:40:14,0,,0 2016-10-01 18:40:15.072 (Machine: 00133) Received: 3293196,L,2016-10-01 18:40:15,9992,0,,0,0,1,4,20,19024,0,263016,3gbk12ge6kX00f9Z90GYIYOLAVHTeQZZ,0 2016-10-01 18:40:15.087 (Machine: 00133) Sent: 3293196,L,2016-10-01 18:40:15,0,,0 2016-10-01 18:40:15.119 (Machine: 00106) Received: 1036385,T,2016-10-01 18:40:13,4,18697,302500,1,25 2016-10-01 18:40:15.119 (Machine: 00106) Sent: 1036385,T,2016-10-01 18:40:15,0,,0,18697,5TdCkM1hBDRDdbGJTeJXR4ddKjMTLaaa 2016-10-01 18:40:15.150 (Machine: 00129) Received: 1066436,W,2016-10-01 18:40:10,1490,0,,200,