Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2015
    Posts
    7

    Default Ignore Line acording to search string

    Hi,

    We are using BC4, in a cmd script.
    We need to compare pdf files, but if a specific string found in the line we want to ignore the whole line.
    Help someone?


    Hezi

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    We have a KB article that would be helpful, here:
    http://www.scootersoftware.com/suppo..._unimportantv3

    You can define a Basic grammar to match on the specific string and surrounding text using a regular expressions. For example, if the text to find and then ignore the whole line is "text":
    .*text.*

    Then in the Text Compare's Session Settings, you would go to the Importance tab and find your Grammar element name and uncheck it. Unchecked items are Unimportant.
    You can also update the Session defaults at the bottom of this dialog to use these settings for future sessions. Switch from "Use only for this view" to "Also update session defaults" at the bottom of the Session Settings dialog.

    The included video in the above link should also be helpful. BC3's steps are very similar to BC4's configuration. We also have a few BC4 specific videos here: http://www.scootersoftware.com/features.php?zz=v4videos
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •