I want to search a pattern like postCode or telephoneNumber (not the number itself) from the file content with WDS api, is it possible
Here is a SQL sentence used by ExecuteSQLQuery, how I can let it work well:
strSQL = "SELECT FileName,DocTitle,DocAuthor,Url,PrimaryDate FROM ""MyIndex""..scope() WHERE * LIKE '^({2-9]{3}-) [2-9]{3}-\d{4}$' ORDER BY DocTitle "
If it's impossible, is there any other method

WDS regular expression
nzmike
"where * like" is not supported, you need to specify the property you want to look over, not a wildcard.
Note, that regular expression search would not work over properties which are not retrievable, as they are not stored in property store (thus System.Search.Contents would not work, but System.Search.Autosummary would). This is probably not what you wanted anyway.
I could not get ^ or $ to work for regular expressions.
dodo502b
Hi,
I am trying to do the same thing as well. I would like to know two things:
1) Is it possible to use regular expressions and WDS 2.6.5 together
2) If it is possible, would you be able to post some example code for searching the contents of files
Thanks in advance for any help
Jeremy