标签: vb.net
我想比较字符串
"XYZ"
" XYZ"
"XYZ "
",XYZ"
", XYZ"
"XYZ,"
" XYZ ,"
",XYZ,"
", XYZ ,"
是否有人建议如何正常表达此特定字符串项?
答案 0 :(得分:1)
试试这个正则表达式:
[,\s]*?XYZ[,\s]*