Retrieve Numeric Values from Text Suppose there is a pop-up like below which has a combination of text and Numbers and if we want to retrieve only Numbers Then we can use the below code to fetch only Numbers Store the content into a variable and apply to replace(/[^0-9]/g, "") to the string and it will fetch only Numbers present in the string Code Snippet Logs from DS3 If you have any feedback on this topic, please contact us at documentation@appvance.ai Last updated: October 16, 2026