Get ALL values

mindeswx

Новичок
Регистрация
13.12.2016
Сообщения
16
Благодарностей
0
Баллы
1
Hello, i'm beginner with zenno , and for some reason i can't make regexp to work for this project, but from actions designer it works great, and gets what i need, the bad thing about action designer it gets back 1 result and puts it to a variable.

So i have tried to mess around with Match # adding ranges , like 1-15 , and all , but that does not seem to work also,

SO the question is -
How to get all elements(and put to a list) found by action designer

Thank you
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Hi.
If I'm not mistaken work all works in match number.

If not then just make the loop with counter and take elements one by one and save in list. like:

Set counter to 0 and take the first element, then increase the counter by one and take next element and save them in the list.
 

mindeswx

Новичок
Регистрация
13.12.2016
Сообщения
16
Благодарностей
0
Баллы
1
Hi.
If I'm not mistaken work all works in match number.

If not then just make the loop with counter and take elements one by one and save in list. like:

Set counter to 0 and take the first element, then increase the counter by one and take next element and save them in the list.
Thank you, but 'all' does not work for me , will try to implement the loop.

For the additiona other small question -
Is there an easy way to add prefix to all items in a list?
f.x script goes like this-

take DOM > save to the list> saves acb
i need to add prefix 123, so list would be 123abc
is there an easy way? thank you lokiys
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
When you will implement loop then at step where you will take one match value add your prefix there, and save to list then.
Seems pretty easy way :-)
 
  • Спасибо
Реакции: noname007 и mindeswx

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