Replace $abc$ with $`abc`$: \$([^$]*)\$ \$`\1`\$
Replace 4. 5 with 4.5
(\d)[.]\s+(\d) $1.$2 ([a-zA-Z])[.]([a-zA-Z]) $1. $2