0816-change $ to $$

CODE

find and substitude single $ to double $

from \$([^\$]+)\$ to $$$ $1 $$$
reverse substitude: \$\$ ([^\$]+)\$\$ to $$ $1 $$

Last updated