I’ve described 3 ways to get rid of an ending off the top of my head, Larry, I could probably think of a few more, it all depends on exactly what you want to do next... If the ending is in measure 48, that is the only measure that needs consideration to remove the ending pattern, for instance with punch or measure erase of control data or whatever.
The expression pedal has no effect on the ability to erase the ending, whether you wish to keep the expression in the middle of the song is a subjective judgement which is possible using the method I’ve described, if you feel the expression is inappropriate to the middle of the song, and belongs only at the end you can delete all the data or only some and use a quicker method, its purely subjective and quite possible either way, whichever you desire.
The asterisks are all control data - with the song you are all talking about (which I have never seen) I would assume they are expression data. The expression is input from an analogue potentiometer whose output is stored as a series of digital volume levels over time as it is moved – the many asterisks. They are there after you remove the ending because an ending is generally 4 or 8 bars. Removing the ending command does not remove the following 4 or 8 bars, they merely play without the ending pattern in the same rhythm as was playing immediately before the end command. To remove the following measures use the measure erase etc etc.