Find part of a string with regular expression in a given string
I have a test where I need to create filters with text using logical operators as below. In the results it returns all the matching records. I am not getting any idea how to test this with TestComplete aqString method.
For ex. when I search with text "Surface Active", here I need to use quotes in the search term. The results returned as DORGANIC SURFACE ACTIVE PRODUCTS AND PREPARA
Now I need to verify if the given text Surface Active exists in the results returned.
The issue is my variable to enter the search text will be like "surface Active". When I use aqString.find method that will return false because the quotes doesn't match.
I have few other logical operators similarly to use and like to know the best approach that I can do to verify.