Using custom filter
{{item.code}}: {{ item.title | cleanTitle }}
Using method
{{item.code}}: {{ cleanupTitle(item.title) }}