Regex to fetch number

Hi,
Please provide regex to fetch number whether it contains special character

You can Use the below pattern :slightly_smiling_face:

[\d.!@#$%^&()_+]

Hi,
i want to read like “125458” and in some cases its “2548-HR” then how i do.

Check this.

[\d-]+[A-Z]+