action designer help

bill

Client
Регистрация
05.07.2014
Сообщения
355
Благодарностей
9
Баллы
18
how do i make it so that it only selects a specific word..

for instance if the innerhtml where i'm trying to have it click is 2, it will still show results for other innerhtml with 2 in it like 20, or scott222.... how can i make it only select the item with 2 and only 2 in it?
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
786
Баллы
113
use regular expression ^{your_word}$. for example
you want to find all <span>2</span> but not <span>2 </span> or <span>22</span>
your regular expression for innerhtml or even innertext should be ^2$
 
  • Спасибо
Реакции: bill

bill

Client
Регистрация
05.07.2014
Сообщения
355
Благодарностей
9
Баллы
18
thanks yet again lex~ ;-)
 

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