Regular Expressions 101

Community Patterns

PowerShell + Regex to match and output to csv

0

Regular Expression
PCRE (PHP <7.3)

~
\#(?P<cycle>\d+)\s (?P<date>[\d/]+)\s (?P<time>[\d:]+)\s+ Total:\s(?P<total>[\d.]+)[-\s]+ RCPE:\s+(?P<rcpe>\d+)\s ID:\s(?P<id>\d+)\s WKOD:\s+(?P<wkod>\d+)\s OPRT:\s+(?P<oprt>\d+)\s TARE:\s(?P<tare>[.\d]+)
~
xg

Description

no description available

Submitted by Jan - 8 years ago