Fix RegEx Fix Pi

Fixed issue where π would not appear correctly on the web.
Fixed issue where the regex would not get the right substring (eg //15.0 would stop at decimal instead of the newline character)