MS Word - Find and select all string of simlar pattern

mohityadavx

Youngling
I want to find and select all strings of a particular kind in a word document. The strings are of this format

FileList('S-20160302-103416-PERFORMA','Perfroma LST-1-0230316','U00729541','MJH72300DL1996PLC075672','T21')
FileList('S-20160302-103416-PERFORMA','Perfroma BLST-4-0203316','U00741','MJH72300DL1996PLC075672','T21')
FileList('S-20160302-103416-PERFORMA','Perfroma SLST-4-0201316','U0H4F8HF0729541','MJH72300DL1996PLC075672','T21')
FileList('S-20160302-103416-PERFORMA','Perfroma LST-2-0202316','U00729NEFIN541','MJH72300DL1996PLC075672','T21')
FileList('S-20160302-103416-PERFORMA','Perfroma ST-6-0201316','U007EIJFE29541','MJH72300DL1996PLC075672','T21')

And so on
So all of them begin with FileList and all of them end with s2')
However the string length vary in each of these. Is there any way to do the same?
 

Desmond

Destroy Erase Improve
Staff member
Admin
Which version of MS Word are you using. I think I read somewhere that you can use Regular Expressions with Find and Replace in Word 2010 onwards.

In any other version of MS Word, you can Find and Replace using wildcards.
 
OP
mohityadavx

mohityadavx

Youngling
Which version of MS Word are you using. I think I read somewhere that you can use Regular Expressions with Find and Replace in Word 2010 onwards.

In any other version of MS Word, you can Find and Replace using wildcards.

I am using Office 2010 but I am afraid I dont know how to use Regex. Can you help me figure out the same?

- - - Updated - - -

Also wildcard is not working this is what I tried (Please correct me if I am wrong)
FileList* ? *')
 

ratul

█████████████████
I am using Office 2010 but I am afraid I dont know how to use Regex. Can you help me figure out the same?

- - - Updated - - -

Also wildcard is not working this is what I tried (Please correct me if I am wrong)
FileList* ? *')

try the wildcard:
Code:
FileList*\'\)
 
Top Bottom