#1
|
|||
|
|||
Find and select all string of simlar pattern
I want to find and select all strings of a particular kind in a word document. The strings are of this format
FileList(65,perfroma-3738747,s2') FileList(65,file-375747,s2') FileList(65,try-3738747,s2') And so on So all of them begin with FileList and all of them end with s2') However the string length vary from one to another. Is there any way to do the same |
#2
|
||||
|
||||
You can use a wildcard Find, where:
Find = FileList\([!\)]@s2'\)
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Forgive me for my naivety but how do i use that command
do I just enable wildcards in find and then paste this as it is because its not working that way |
#4
|
|||
|
|||
Thank you it worked!
|
#5
|
||||
|
||||
Cross-posted at: https://social.technet.microsoft.com...ern?forum=word
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find all string within string. | PRA007 | Word VBA | 18 | 02-12-2016 08:11 PM |
How to do multiple find and replace in string. | PRA007 | Word VBA | 2 | 01-06-2016 09:10 PM |
Why is this Find string not working | TechEd | Word VBA | 5 | 07-05-2014 08:12 PM |
Find & Replace: Wildcards (except this pattern) | tinfanide | Word | 6 | 01-26-2014 06:39 AM |
Bad view when using Find and Find & Replace - Word places found string on top line | paulkaye | Word | 4 | 12-06-2011 11:05 PM |