Hi,
Im trying to figure out how to do the following (examples are below), with regex, im guessing i'd have to look forward and back (if thats the correct term) and then replace accordingly.
I hope the examples would explain what its meant to be doing, as Im unsure how to explain.

Examples:
Input:hello '\';';Output would become:hello '\';---------
Input:hello ';
'; Output would become:Removed (Replaced with nothing)---------
Input: hello ';Output would become:Removed (Replaced with nothing)