Stripref
From Sega Retro
This template removes references from a string.
Usage
{{stripref|123{{ref|http://segaretro.org}}}}
returns:
123CategoryBadexternalreference
Warning: Don't repeatedly use for the same string, because each usage is listed in the references section. Instead, store the string to a variable and use that.