Splicing out things as you suggest would leave the possibility (however remote) that a false match would be created by the pasted-together remnants. Like if you removed "XL5 ALPHA" from "ALXL5 ALPHAPHA". See
my split-and-grep recommendation for a similar technique that isn't subject to the pasting problem.
Caution: Contents may have been coded under pressure.