判断字段串中是否包含 ‘ , " , < , > ,on*,script,iframe
的正规表达式应该怎么写,麻烦蓝老师帮忙写一下,谢谢
Dim s As String = "1sdgho scriptngfhfgh"
Dim p As String = "['""\<\>]|on|script|iframe"
Dim rgx = New System.Text.RegularExpressions.Regex(p, System.Text.RegularExpressions.RegexOptions.IgnoreCase)
Output.Show(rgx.isMatch(s))