Ignore line that contain certain text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tdk1964
    Visitor
    • Sep 2008
    • 3

    Ignore line that contain certain text

    Please could somebody help me. I want to ignore lines that contain specific text.

    e.g.. string Result = string.Format(GetGlobalResourceObject("Resource"," ShowingXItems").ToString()

    This line should be marked unimportant because it contains the GetGlobalResourceObject text
  • Aaron
    Team Scooter
    • Oct 2007
    • 16026

    #2
    Hello,

    This handy KB article should help:
    http://www.scootersoftware.com/suppo...mportantv3.php

    For "contains" you could define something similar to .*GetGlobalResourceObject.*
    If the text appears anywhere in the line, then that whole line would match. This could potentially include comments, depending on how you set this up.
    Aaron P Scooter Software

    Comment

    • tdk1964
      Visitor
      • Sep 2008
      • 3

      #3
      That did it, thank you.

      Comment

      Working...