get last (defined number) matches add to list

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
So I'm parsing out some information.

i can reg ex the information but i really only need to get the last 5 matches (actual matches are defined by a variable), but i will always have extra crap before it but i only need the last defined matches and add them to the list for temp info in the match

in the what to get area of a text processing is it possible to set it to where it will retrieve the last 5 or so result only? (the last 5 is a example cause it will be variable based)
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 799
Благодарностей
1 187
Баллы
113

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
wont that just take all the lines AFTER the 5th one? i just need the LAST 5
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 799
Благодарностей
1 187
Баллы
113

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
yeh so i just have to remove it with take out first line untill line count equals what i want?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)