I am trying to remove some <span style="something not constant"> from a text and I tried M-x replace-regexp> "<span*>" -> ""
but it does nothing. I made sure the cursor is at the beginning of the file.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You must probably know that * in a regex means ‘repetition’, and i’m not sure you want to remove something like
<spannnnn>, do you ?What you mean is probably:
<span.*>PS: Made the same mistake as you 😉