Improved number detection regex; implemented batch conversion
Remove debug code and commented (redundant) code