<rx>\G(?<=>)(?:(?!<font).)*?\K<(font[^>]*)>|User-Agent: (?:(?!<font).)*?\K<(font[^>]*)>【TAB】&lt;$1$2&gt;【TAB】msg