I am just trying to remove bullets from the text. For example when i am copying bulleted text list from MS Word to any textbox it is showing along with bullet. Can somebody tell me how to remove any type of bullet and replaces it with “”.
I have found this code from different sources, But they are not working for me.
var x=" 1. 15-20 years ";
x.replace('•\t.+', '');
alert(x); // i want out put as 15-20 years
Thank you. 🙂
Try this statement instead…