I end up deleting the element containing the character every time I try.
What I’m trying to delete is the comma for each .date:
<div class='date'>Nov 1, 2011</div>
<div class='date'>Dec 22, 2011</div>
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.
This should take the content of the first
.dateelement, search for any commas, remove them, and put the updated string back into the element.Here’s some code that will remove the comma in all
.dateelements:Example.