Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Tadwick Tadwick is offline
external usenet poster
 
Posts: 6
Default Find syntax for /*..........*/ ?

Hi, I tried using the following search string :

/\**\*/

but it didn't work. I can find the start and end of a block of text using
/\* and \*/ respectively but not the entire block.

Any suggestions? Tx, Tad
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Find syntax for /*..........*/ ?

Put parentheses around the star that represents the interior of the
string:

/\*(*)\*/

I don't know why that helps, but it does. Apparently the matching
algorithm gets confused by consecutive stars. shrug

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Tue, 28 Nov 2006 23:47:00 -0800, Tadwick
wrote:

Hi, I tried using the following search string :

/\**\*/

but it didn't work. I can find the start and end of a block of text using
/\* and \*/ respectively but not the entire block.

Any suggestions? Tx, Tad

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Tadwick Tadwick is offline
external usenet poster
 
Posts: 6
Default Find syntax for /*..........*/ ?

Thanks, Jay - that is very helpful

"Jay Freedman" wrote:

Put parentheses around the star that represents the interior of the
string:

/\*(*)\*/

I don't know why that helps, but it does. Apparently the matching
algorithm gets confused by consecutive stars. shrug

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Tue, 28 Nov 2006 23:47:00 -0800, Tadwick
wrote:

Hi, I tried using the following search string :

/\**\*/

but it didn't work. I can find the start and end of a block of text using
/\* and \*/ respectively but not the entire block.

Any suggestions? Tx, Tad


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Find Button Terri Mailmerge 2 January 19th 06 07:01 PM
I can't find records using the the find record command in a merged Johnny Tidwell Mailmerge 1 June 23rd 05 11:37 AM
Using "Find and Replace" for Symbols Hi Ho Silver Microsoft Word Help 4 June 10th 05 01:44 AM
How to insert a Symbol into the Find and Replace Function in Word EamonX1 Microsoft Word Help 5 May 16th 05 12:48 PM
Find and Replace anomaly BruceM Microsoft Word Help 7 January 18th 05 05:47 PM


All times are GMT +1. The time now is 07:56 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"