I have tried the following and much more. Please tell me how to pass this step.
“Somewhere in there is a flag for using extended regular expressions with
sed. That might work. Add it to the
echo "$(echo ' M e ' | sed 's/^ *| *$//g')." command that didn’t work to find out.”