none
How to ignore series of strings in regex RRS feed

  • Question

  • Hi,                    

    I can't find the exact forum for the regex, hopefully this is ok to ask regex question here. 

    I’ve a following standard output, 

    [01.06 18:52:44.531-TID:1456][I]<RunTest:171>{0x0} Test execution result: 0

    [01.06 18:52:44.531-TID:1456][I]<RunTest:177>{0x0} Test result: 10

     [01.06 18:52:44.531-TID:1456][I]<RunTest:192>{0x0} Test 0 succeeded!

    what regex I should use to get the highlighted item into group Collection? So groups[1] = 0, groups[2] = 10 and groups[3]="Test 0 succeeded"? 

    Your help is appreciated.

    Thanks.


    • Edited by Wood-MSDN Friday, July 7, 2017 4:26 PM
    Friday, July 7, 2017 7:42 AM

All replies

  • Hi Wood-MSDN,

    Thank you for posting here.

    What does the highlight item mean? Does the output you read from PDF?

    We could use regex to match something special with content. The highlight is the size of font, right?

    Please provide more information about your question. 

    More details would be helpful. We are waiting for your update.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 12, 2017 5:13 AM
    Moderator