A GREP style inside an InDesign paragraph style automatically applies a character style to matching text. If formatting returns on particular patterns, inspect that rule before repeatedly clearing manual formatting. The paragraph style may be applying the appearance as designed.
Identify the pattern and its owner
Adobe describes GREP styles for patterns such as phone numbers. A rule has both a matching expression and an applied character style. Either can explain an unexpected result: the expression may match too broadly, or the character style may carry an unintended attribute.
For an illustrative product catalog, a rule might highlight model codes. Later copy can introduce a similar pattern in ordinary prose, causing it to acquire the same appearance. The new formatting can be logically consistent with an overbroad rule while editorially wrong.
Audit one rule at a time
- Preserve the document and identify the affected paragraph style.
- Inspect its GREP Style rules, including the To Text expression and applied character style.
- Compare a true intended match, an unintended match, and a nonmatching example.
- Revise the rule or character style deliberately, then inspect the affected story and relevant publication sections.
Do not introduce an unverified expression across a whole book merely because one sample looks correct. Test boundary cases and keep the intended matching policy in plain language beside the rule for future editors.
Use a pattern test card
| Example class | Expected result |
|---|---|
| Real product code | Intended character style |
| Similar ordinary wording | Remains ordinary text |
| Revised code format | Explicit decision to match or exclude |
| Different paragraph style | Scope checked separately |
For AI-assisted publications, generated draft text still requires real copy review. A formatting rule can consistently highlight an incorrect product code just as efficiently as a correct one.
Questions about returning formatting
Is it always a stuck local override? Inspect automated GREP styling in the paragraph definition.
Can the character style be the cause? Review both the expression and the appearance it applies.
Does one matching example prove the rule is safe? Include false positives and boundary cases in the review.
Sources and next step
The examples and review checks are editorial guidance, not reported application tests. For a subsequent transformation, open the Imagild photo editor with the specific approved input or brief described above.
Related reading: How Do I Continue InDesign Figure Numbers Across Separate Text Frames or Chapters?; Why Do InDesign Margin Settings Say Inside and Outside Instead of Left and Right?; Why Did “Apply to All Captions” Change Only Some of My Subtitles?.