Trouble capturing info

Posted by Silencher on Sun 08 Jul 2018 12:36 AM — 2 posts, 11,669 views.

#0

|  Buffed ( )( ) Armor XP |    01 |  02 / 03  | |



Above is a representation of a line I'm trying to catch.

I'm specifically trying to capture the '01' portion and I'm not really sure how to do it.

The white spaces between all of the above can vary, depending on the length of the numbers in '01', '02', '03'.

Can someone show me how I can easily capture '01'? I was thinking something like...


.*XP | * |*.


As the trigger string and use %2 for '01', but that doesn't seem to work correctly.
Amended on Sun 08 Jul 2018 06:02 AM by Nick Gammon
Australia Forum Administrator #1
Are these regular expressions? The *. at the end doesn't look right.