User Tools

Site Tools


blog:regex

regex

Replace $abc$ with $`abc`$:

\$([^$]*)\$

\$`\1`\$

Replace 4. 5 with 4.5

(\d)[.]\s+(\d)

$1.$2


([a-zA-Z])[.]([a-zA-Z])
$1. $2
You could leave a comment if you were logged in.
blog/regex.txt · Last modified: 2018/11/26 08:33 by johnny