Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 RegEx更改<为[和。>]
<
[
>
]
<mailto:abc@xyz.com>
[mailto:abc@xyz.com]
电子邮件地址显然在每个实例中都会发生变化。
<([^>]+)>
[$1]
如果您要替换现有 HTML 文档中的所有<mailto:..>标记,那么您将需要以下内容:
<mailto:
正则表达式: <(mailto:[^>]*)>
<(mailto:[^>]*)>
用。。。来代替:[$1]