Share via

remove rtf tags

Anonymous
2010-10-26T05:22:48+00:00

I am unable to remove the tags that were generated in an rtf document, without doing them one by one (and there are thousands) using word 2010

example:

Title

{tc "Title"}

I previously found a script (vb i think) or macro or something like that, that did it nicely, but can't find it anymore

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2010-10-26T06:56:07+00:00

    Use Alt+F9 to toggle off the display of field codes.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
    2010-10-26T13:41:08+00:00

    Those are not RTF tags. The one you cite is a TC field, which generates a TOC entry. TC and XE fields are formatted as Hidden text. Hide Hidden text and you will not see them. Removing them may have unexpected and unwanted consequences.

    If, however, you are sure you want to delete them, then you can (with the fields displayed) search for ^19 TC and replace with nothing. That search string will result in selecting the entire field when it is found, so the entire field will be deleted.

    Was this answer helpful?

    0 comments No comments