During the meet-up yesterday, it became apparent that the real task is to lose all current $Text up to the first >#
marker.
This appears to work
$Text=$Text.replace(">#$","").replace("[^>]+>#","");
The first .replace
removes the end marker which otherwise confuses the main regex. See Fix text.tbx (82.3 KB)