PHP Preg表达式从字符串中删除html标签和内部内容?

Bra*_*cal 3 php expression preg-replace

快速的问题.

我想从以下字符串中删除sup标记,以及其中的所有内容.

$string = "Priority Mail<sup>&reg;</sup> International";
Run Code Online (Sandbox Code Playgroud)

我该怎么办?

Nie*_*sol 8

我想像这样的东西会起作用:

preg_replace("(<([a-z]+)>.*?</\\1>)is","",$input);
Run Code Online (Sandbox Code Playgroud)