Untagging a Paragraph Style
Here’s the first line:
\@Heading 3:(*)|Heading 3+p
The initial backslash (\) tells Word that you want to use the @ sign as a character rather than a wildcard (wildcard searching is automatically turned on when you use the +p code at the end of a master-list entry). That’s necessary since here the @ is part of the Quark tag. (Ordinarily in a wildcard search, @ means any number of the previous character or group of characters.)
Next comes the tag to convert, @Heading 3:
After that comes a wildcard group, (*). The parentheses group the enclosed wildcard so that RazzmaTag can tell Word to use any text the wildcard finds as the Replace string. (RazzmaTag automatically does this with the Find What Expression wildcard, \1, although you won’t actually see this wildcard in your master list. So, you can use only one wildcard group per line in your master list, but that should be enough for both undelimited tags [such as @Heading 3:] and delimited tags [such as <I>(your text)<I>] Paragraph styles don’t have to have ending tags because they format one paragraph at a time). The interesting thing in this example is that the * wildcard tells Word to find zero or more characters after the \@Heading 3: code. Since we haven’t provided an ending delimiter code (paragraph styles don’t need them), that’s exactly what it will find—zero characters. And that’s what the \@Heading 3: code will be replaced with—zero characters. In other words, it will be deleted, which is exactly what we want.
Next comes the pipe symbol (|) to separate the Find and Replace entries.
After that comes Heading 3, the name of the style to apply to the tags that are found.
Finally, there’s a +p, which tells RazzmaTag to replace tags with a paragraph style.
Please note that if you’re untagging a text file, custom paragraph styles won’t even exist in the document. In that case, RazzmaTag will create the styles for you, formatted in red so you can easily spot text formatted with those styles. Then you can modify the styles or apply a different template to the document (being sure to update styles) so the formatting will look the way you want it to.
The second line in our example follows the same pattern as the first, so we won’t discuss it.