How to find last -1 and loop

  • Автор темы Автор темы kamazi
  • Дата начала Дата начала

kamazi

Client
Регистрация
16.10.2013
Сообщения
29
Реакции
0
Баллы
1
If in match# use end.
How to decrease 1 and loop.

*In the case of not getting DOM-text.
 
use c# snippets for get collection of HTML elements and count of it
maybe you'll understand my english)))))
 
Код:
Развернуть Свернуть Копировать
System.Text.RegularExpressions.MatchCollection m = System.Text.RegularExpressions.Regex.Matches(instance.ActiveTab.DomText,@"your_regular_expression");
return m.Count;

screenshot http://joxi.ru/r4buUhjKTJDWXD7BteI

if this is what you need - set kitty on the avatar))))
 

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