I am trying to use \d in regex in sed but it doesn’t work:
sed -re 's/\d+//g'
But this is working:
sed -re 's/[0-9]+//g'
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.
\dis a switch not a regular expression macro. If you want to use some predefined “constant” instead of[0-9]expression just try run this code: