using sed, remove everything before the first occurence of a character

Viewed 23288

Let's say I have a line looking like this

Hello my first name is =Bart and my second is =Homer

How can I do if I want to get everything after the first = or : using sed?

In this example, I would like to get the result

Bart and my second is =Homer

I am using sed 's/.*[=:]//' right now but I get Homer as result (everything after the last = or :) and I would like to get everything after the first, and not the last = or :

1 Answers
Related