regex should do the trick. VFP 9 code references has some limited regex support. And then there's the VFPX GoFish project, which I highly recommend. It has a great deal of flexibility in searching and can also do replaces for you. It also supports basic wildcard searching as well as regex.
I have a little util I wrote years ago that parses a string or memvar and returns a list of all characters with their ASCII values for a similar purpose; hunting down control characters in data. It might be useful so I will submit to Ed. Although the site just seems to be spinning for me at the moment. -- rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Tormey Sent: Friday, January 11, 2013 4:43 AM To: profoxt...@leafe.com Subject: FINGER TROUBLE Is there a neat way of searching vfp code for errant CTRL + (any key) and replacing with an appropriate choice. William Tormey _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD044217A43EF93@ACKBWDDQH1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.