in reply to Re: Removing all text in a String.
in thread Removing all text in a String.

... and remember to add that /s modifier, so that . also matches a newline.