Regular Expressions 101

Library entries

GALLASTEGUI

Vote

1

Regular Expression
pcre

/
^(?<expedicion>\S+(?:\s{1,3}\S+)*)\s+(?<fecha>\d{2}\/\d{2}\/\d{2})\s+(?<referencia>\S+(?:\s\S+)*)\s+(?<remitente>\S+(?:\s\S+)*)\s+(?<num>\d+)\s+(?<nombre>\S+(?:\s\S+)*)\s+(?:\D+)(?<kilos>\d+)\s+(?<importe>\d+(?:[.,]\d+)+)\s+
/
gmi

Description

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