如何使用 python 正则表达式将前导和尾随的任意引号字符串分别替换为任意字符串?
示例输入字符串
This is a "quote" and here's another "quote"
或者
This is a “quote&rdquo" and here's another “quote”
示例输出字符串
This is a “quote” and here's another “quote”
或者
This is a <span>"quote"</span> and here's another <span>"quote"</span>