on the network my bot runs on, they automatically add a string of characters to the hostmask of every user. some of the characters are static, and some are dynamic, but it follows the same pattern in every instance.
I'm writing a ban script for the bot and would like to remove all the network added characters and replace them with a wild card.
here's what the addy looks like with the characters in:
@network-hidden-8473F448.blahblah.com
I know how to strip the network-hidden-, but the next set of characters are dynamic. is there a way to remove them using regsub -all or something similiar?