Dim s As String="关闭标志 is null and 完成入仓 = 'FALSE' and 组装车间_完成 = 'FALSE' and ( 产品名称 like '%777%' or 产品名称 like '%8301%')"
Dim p As String = "(?=is|\=|like)"
Dim p2 As String = "(?=and|or)"
Dim r As New System.Text.RegularExpressions.Regex(p2)
Dim str = r.Split(s)
For Each a As String In str
Output.Show(a)
Next
Output.Show("-------------------")
r = New System.Text.RegularExpressions.Regex(p)
For Each a As String In str
Dim s2() As String = r.Split(a)
For Each b As String In s2
Output.Show(b)
Next
Next