I want a Javascript regex to replace only numbers i.e. all others alphabets and special characters are allowed.
-
A simple search can help you to achieve that.Mamun– Mamun2018-07-06 04:59:42 +00:00Commented Jul 6, 2018 at 4:59
-
@Mamun I searched for it and found one but it doesn't entirely accept special characters.Axel– Axel2018-07-06 05:00:46 +00:00Commented Jul 6, 2018 at 5:00
-
Then you should include that in the question mentioning in which part you are struggling...Mamun– Mamun2018-07-06 05:02:01 +00:00Commented Jul 6, 2018 at 5:02
-
Actually, that regex was for other languages so couldn't figure out.Axel– Axel2018-07-06 05:03:43 +00:00Commented Jul 6, 2018 at 5:03
Add a comment
|