We have an input as : "6abc67*uv3$%^78*(op23"

Expected output: abc*uv$%^*(op

That is no numeric values.

Which of the below code segment will help to do so?

 Posted by Rajnilari2015 on 10/12/2015 | Category: JavaScript Interview questions | Views: 2139 | Points: 40
Select from following answers:
  1. "6abc67*uv3$%^78*(op23".replace(/[^\D]/g, "")
  2. "6abc67*uv3$%^78*(op23".replace(/[{0-9}]/g, "")
  3. "6abc67*uv3$%^78*(op23".replace(/[~{0-9}]/g, "")
  4. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response