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

oopl1999, You answered only one of my seven questions. Someone might guess the rest of the answers correctly and give you a good solution, but you will get more and better solutions if you post the answers to my previous questions. Remember that examples alone cannot tell about conditions that are impossible.
Bill

Replies are listed 'Best First'.
Re^4: Perl Formatting Text
by oopl1999 (Novice) on Jun 23, 2016 at 21:30 UTC

    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!