共用方式為


regex_quote()

適用於:✅Microsoft網狀架構Azure 數據✅總管 Azure 監視器✅Microsoft Sentinel

傳回逸出所有 正則表達式 字元的字串。

語法

regex_quote(string)

深入瞭解 語法慣例

參數

姓名 類型​​ 必要 描述
string string ✔️ 要逸出的字串。

傳回

傳回逸出所有 regex 表達式字元的字串

範例

print result = regex_quote('(so$me.Te^xt)')

輸出

result
\(so\$me\.Te\^xt\)