How to get the number of total regex results?

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

wanqwer

Client
Регистрация
06.09.2012
Сообщения
18
Реакции
0
Баллы
1
As the title says, i am not able to work this out :).

Example: I use regex, get 10 results, and how i can get the number 10 as variable/list/text/whatever?
 
Use regex and use All as match#. You will have to save the results to a list. Then do a list processing, count of rows on that list to get the number you are looking for.
 
Another way is narrow down if result No. is very large.
For example, No. 100K result not exists.
Then look for No. 90K; If not found, then 80K;
If 80K found, check 85K;
85K found, check 87K,
not found, check 83K;.......
With 1-2 dozens operations :D will get an approximate
No. very close to the acture .....
 
Thank you!
I was going to use 'count of rows' on list, but my results are made from multiple rows, and i didn't thought it will count a result with many rows as one row :).
Thanks nevadahsot also, will keep this for future ;)
 

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