Extended regex not working(?)

Hello

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.”


:pray: :pray: :pray: :pray: :pray: :pray: :pray:

Write the expression again as it was originally (without any changes) and add the flag (is it -E?) between the word sed and the first single quote.

It worked and thank you very much Hanaa. :sparkles:

1 Like