Remove string + 2 characters

I need to remove, replace from a string, another string plus two characters, that are variables

Example

Home>> Blog>> Test
Home:: Blog::Test

Need to remain Home>>Test and Home:Test, but (::,>>) can be any character

str_replace(‘Blog’, ‘’,$breadcrumbs) it works, but I want blog plus next 2 characters

Can the :: or >> really be any character? Something like this would be fairly simply using a regular expression, have you ever used those?