View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Formatting a merge field that contains both text and numbers

If the number is always of the format -###-##-####, after executing the
merge to a new document, you could to a Wildcard Replace that replaces

-[0-9]{3}-[0-9]{2}-[0-9]{4}

with nothing.

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"Drew" wrote in message
...
I have a field that merges both text and a number to my document. I'd like
to supress the number and keep the text.

I'd like to go from this:
Text-123-45-6789
to this:
Text

Any suggestions? Thanks