{{ $content := . }} {{ $content = $content | replaceRE "(\\s)(\\d+)(e|è)(r|me)?([\\s.,])" "$1$2$3$4$5" }} {{ $content = $content | replaceRE "n°\\s*(\\d)" "no $1" }} {{ $content = $content | replaceRE "“" "« " }} {{ $content = $content | replaceRE "”" " »" }} {{ $content = $content | replaceRE "(\\s)+(\\d+)(\\s)*x(\\s)*(^\\d)" "$1$2 × $5" }} {{ $content = $content | replaceRE "(\\s)+(\\d+)(\\s)+([a-zA-Z]|%)" "$1$2 $4$5" }} {{ $content = $content | replaceRE "( )([;?!])" " $2" }} {{ $content = $content | replaceRE "( )([:])" " $2" }} {{ $content = $content | replaceRE "(\\d+)\\s*(\\$|€)" "$1 $2" }} {{ $content = $content | replaceRE "(—|—)(\\s)" "$1 " }} {{ $content = $content | replaceRE ":::info" "