Use this to replace | with - and replace , width .:
{{age|replace({'|': "-", "," : "."})}}
Example input 31|60, comes out as 31-60.
Use this to replace | with - and replace , width .:
{{age|replace({'|': "-", "," : "."})}}
Example input 31|60, comes out as 31-60.