I have this input string:
Hello <foo> context61 Hi: context:file/ hello context715: context666:file/ foo
My goal is replace (clean) every occurrence of context[anything]: to an empty string. the anything part could be empty.
Output should look like this:
Hello <foo> context61 Hi: file/ hello file/ foo
I have tried endless attempts but I'm just a noob when it comes to regex. Can anyone help please?
