GO is an SSMS keyword and SMO's Execute chokes on it so a lot of times, online scripts will have to be split at GO. `\ ` means new line and `\\b` is "boundary". I'm not awesome with regex but this seemed to work \U0001f4af 