I need to clean up some tables in Word, where semicolons and text after them is redundant, e.g.
text1 ; text 2
where above is a content of one cell and I need to remove semicolon and everything after it until end of cell; unfortunately text 2 doesn't have any specific pattern.
I try to do that with Word's built-in find and replace using regex.
As the desired end of my regular expression is the end of the cell, I can't match it, I've tried several combinations of any character
;?@ but all stops at the shortest matching text, is there a way to make it match until end of cell?