The following compression scheme compresses characters, ignoring whitespace, and utilizes markers like (10x2) to indicate a repetition of the subsequent 10 characters 2 times. The marker itself isn't included in the decompressed output. Parentheses or other characters within the data referenced by a marker are treated as normal data.
Examples of decompression include:
MURPHY
→MURPHY
(length 6)(3x3)DBZ
→DBZDBZDBZ
(length 9)A(2x2)BCD(2x2)EFG
→ABCBCDEFEFG
(length 11)