Take specific REGEX MATCHES

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
Can ZP take multiple matches from a REGEX in one step... for example -

I want Match# 0,3,5,7 ?



Or must the steps be separate?
 

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
*weekend bump
 

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
So its possible with multi-step process, if anyone has a simpler solution that would be killer... thanks.

 

Stereomike

Client
Регистрация
29.03.2011
Сообщения
221
Благодарностей
30
Баллы
0
Can't you throw the whole regexp result (-alll-) into a js array and process it there?
 

lazlink

Новичок
Регистрация
11.07.2011
Сообщения
11
Благодарностей
2
Баллы
0

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Lazlink if you want to pull all matches in your regex, substitute -|-all for -|-0.
 

lazlink

Новичок
Регистрация
11.07.2011
Сообщения
11
Благодарностей
2
Баллы
0

lazlink

Новичок
Регистрация
11.07.2011
Сообщения
11
Благодарностей
2
Баллы
0
the point. i want get all match on this search criteria step. then i save to .txt
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
If you are trying to get the match values for all of the checkboxes and save them to file then you will have to use the Get=>Webrowser=>Get dom text and then do a regular expression to pull out all of the results. If you are trying to check one of the checkboxes in a random fashion then you can use the random.int macro and put in values that are your lower limit and upper limit. It might help if you gave us the site you are working on and what you are trying to do.
 

lazlink

Новичок
Регистрация
11.07.2011
Сообщения
11
Благодарностей
2
Баллы
0
If you are trying to get the match values for all of the checkboxes and save them to file then you will have to use the Get=>Webrowser=>Get dom text and then do a regular expression to pull out all of the results. If you are trying to check one of the checkboxes in a random fashion then you can use the random.int macro and put in values that are your lower limit and upper limit. It might help if you gave us the site you are working on and what you are trying to do.
thank you very much @bigcajones

:-)
 

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