Let's suppose I have a variable
name = 'product with 10/150 mg'
How can I remove the '/' from the variable name using string functions via node.js
(Variable could have multiple '/' so is there a way to remove the value of all '/' in string?)
Can I do something like name.replace()
?
Any help is much appreciated.