Announcement

Collapse
No announcement yet.

Ignore line that contain certain text

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

  • 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

  • #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


    • #3
      That did it, thank you.

      Comment

      Working...
      X