I am trying to use a regular expression to define unimportant text in a compare and having some difficulty.
Example:
Left- ZIE|A02|20140924000136|||
Right- ZIE|A02|20140924000137|||
With the above example I would expect the line to show no differences. I would expect the below example to show differences though:
Left- ZIE|A02|20140924000136|||
Right- ZIE|A03|20140924000137|||
I only want to ignore the difference in the specific date field. I don't want to ignore all date fields. I tried the below regex with a capturing group, but it marks the entire line as unimportant. Regex is not my forte, so hopefully I am missing something small.
^ZIE\|[\w|]{3}\|([0-9]+)\|.*
Thanks in advance for the help!
Example:
Left- ZIE|A02|20140924000136|||
Right- ZIE|A02|20140924000137|||
With the above example I would expect the line to show no differences. I would expect the below example to show differences though:
Left- ZIE|A02|20140924000136|||
Right- ZIE|A03|20140924000137|||
I only want to ignore the difference in the specific date field. I don't want to ignore all date fields. I tried the below regex with a capturing group, but it marks the entire line as unimportant. Regex is not my forte, so hopefully I am missing something small.
^ZIE\|[\w|]{3}\|([0-9]+)\|.*
Thanks in advance for the help!
Comment