ahks


!+F11::
newStr := clipboard
;newStr := RegExReplace(newStr, "<[^>]*>", "", g)
newStr := RegExReplace(newStr, "[[^]]*]", "", g)
;newStr := RegExReplace(newStr, "([^)]*)", "")
newStr := RegExReplace(newStr, "[^# ]*#", "")
Msgbox 3 ,confirm, %newStr%
IfMsgBox Yes
{
Clipboard = %newStr%
}
return

原文地址:https://www.cnblogs.com/itzxy/p/7637667.html