in reply to
How do remove trailing data?
You can clean it out using regex
s/#\d+$//;
[download]
Comment on
Re: How do remove trailing data?
Download
Code
In Section
Seekers of Perl Wisdom