[Solved] How to match and remove a string of characters in a pattern


awk -F '|' -v 'OFS=|' '{$13 = $16; NF -= 3; print}' file

or

perl -F'\|' -ne 'splice(@F, 12, 3); print join("|", @F)' file

1

solved How to match and remove a string of characters in a pattern