Announcement

Collapse
No announcement yet.

Ignore text inside square brackets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ignore text inside square brackets

    How do I make it ignore text inside square brackets properly? i tried a few regexs i got from online and delemited grammar but nothing works, and regex would always work differently. I'm not familar with regex and i just want it done


    Click image for larger version

Name:	92kXm5S.png
Views:	76
Size:	49.0 KB
ID:	87119

  • #2
    Square brackets are special characters in regular expressions. To match on [ or ], you'll need to escape them with backslash (\).

    In the Text Compare:
    Click the Rules toolbar button (referee icon).
    Go to the Importance tab.
    In Unimportant Text, click +.
    Text to find: \[.*\]
    Check Regular Expression.
    Click OK until you're back to the main window.
    Make sure View > Ignore Unimportant Differences is turned on.
    Chris K Scooter Software

    Comment


    • #3
      Thanks so much, it works now

      Comment

      Working...
      X