in reply to Re^3: Perl Formatting Text
in thread Perl Formatting Text

A line can have more than one letter

The number or string will never be repeated.

The letter may be repeated

If it the letters or numbers are repeated just sort it the same way (as I did in the second example I provided.

The data is letters and numbers but not all mixed together not split (as shown by my example).

Sorry for my ignorance. I'm new the forum and Perl as well. I hope you can still help!