Fixed regex

Fixed regex for catching numeric formatting