Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2016, 04:27 AM
anon123 anon123 is offline Find and select all string of simlar pattern Windows 7 64bit Find and select all string of simlar pattern Office 2010 64bit
Novice
Find and select all string of simlar pattern
 
Join Date: Apr 2016
Posts: 3
anon123 is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 04-20-2016, 06:49 AM
macropod's Avatar
macropod macropod is offline Find and select all string of simlar pattern Windows 7 64bit Find and select all string of simlar pattern Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You can use a wildcard Find, where:
Find = FileList\([!\)]@s2'\)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-20-2016, 06:54 AM
anon123 anon123 is offline Find and select all string of simlar pattern Windows 7 64bit Find and select all string of simlar pattern Office 2010 64bit
Novice
Find and select all string of simlar pattern
 
Join Date: Apr 2016
Posts: 3
anon123 is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 04-20-2016, 07:45 AM
anon123 anon123 is offline Find and select all string of simlar pattern Windows 7 64bit Find and select all string of simlar pattern Office 2010 64bit
Novice
Find and select all string of simlar pattern
 
Join Date: Apr 2016
Posts: 3
anon123 is on a distinguished road
Default

Quote:
Originally Posted by anon123 View Post
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
Thank you it worked!
Reply With Quote
  #5  
Old 04-20-2016, 11:41 PM
macropod's Avatar
macropod macropod is offline Find and select all string of simlar pattern Windows 7 64bit Find and select all string of simlar pattern Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply



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
Find and select all string of simlar pattern 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
Find and select all string of simlar pattern Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft