View Single Post
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
RedRado03 RedRado03 is offline
external usenet poster
 
Posts: 1
Default Wildcard expression?


I am writing a probgram that searces for acronyms. I was wondering what the
wildcard expression would be to search for whole words that contained
characters such as: - or / for example:

Door-Mat123 or help/please

I am using a second criteria to identify it as a acronym based off the
microsoft word selection.

My search criteria can select Door then Mat123 but, not all as one
selection. Is there a way to write this? This is what I have.

Need to include the dashes and slashes within a word.

([A-Za-z0-9][A-Za-z0-9]*)