I have a string as below
4527488//ahdjs}hdu:34ahdgj:60A:283748 8q79979A B B C Dajhed}{-5 jkqedhkkh36929 82939 A D.
I want to remove everything after " }{-5" , including "}{-5" i.e. desired output is as below:
4527488//ahdjs}hdu:34ahdgj:60A:283748 8q79979A B B C Dajhed
there can be a } or { or - or 5 before or after the above combination but never in the combined "}{-5" combination format. I want to remove everything after this "}{-5" combination, including the combination.