Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regex and multiple word search
Message
 
 
To
09/07/2009 07:49:54
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01411109
Message ID:
01411117
Views:
30
>given that activity is a c(100) field in a table
>
>what is the bst way to find records where severeal words are present but not necessarily together
>
>eg:
>
>mouse+trap+living room
>i want to find all occurances where 'mouse' is existing as well 'trap' and 'living room'
>at the moment i have something like
>'mouse'$activity and 'trap'$ activity and 'living room'$activity
>
>which is kind of cumbersome once there are more than 3 phrases
>I hope there is a way to do that with regex???
>
>
>Thnaks
>
>
>Peter

Wow, perfect timing

http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/how-to-search-for-all-words-inclusive-wi

easily adaptable for VFP
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform