>I'm sorry > >I try generate this when I pass this string > >ADT MEX AV BOG515.00Y AV MEX515.00Y NUC1030.00END ROE1.00AV > >the regex.ismatch have equal to true. > >Thanku.
What is wrong with Regex.IsMatch? This works for me:
lcString="ADT MEX AV BOG515.00Y AV MEX515.00Y NUC1030.00END ROE1.00AV"
lcString2="AV BOG515.00Y AV MEX515.00Y"
MsgBox(Regex.IsMatch(lcString, lcString2)) 'returns TRUE
Please, show your code exactly, and show what line does not work as you expect.