How to extract Only Number and "." from a string? string.replace(/[^0-9.]/g, "") / string.replace(/[^a-zA-Z0-9.]/g, '') Last updated: June 26, 2023 If you have any feedback on this topic, please contact us at documentation@appvance.ai