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.

Page Tools