Extract URL's from a text file in ZP

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
I have a simple 10kb text file with about 7 to 10 standard URL's.


Can ZP parse this text file and append the URL results to a file ? This is not working for me, perhaps someone has a solution ?


Thanks.-
 

gcomm

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

Stereomike

Client
Регистрация
29.03.2011
Сообщения
221
Благодарностей
30
Баллы
0
please post an example of the data or something that looks like it. it's difficult to help without something to test solutions.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
If you have a file where there are some links, so just take text from file using macros get block of text, then parse it via regular expression {-RegExp.RegExp-|-TEXT-|-(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?-|-all-} and save these results to the file
 
  • Спасибо
Реакции: Stereomike и gcomm

gcomm

Client
Регистрация
01.03.2011
Сообщения
332
Благодарностей
93
Баллы
28
That worked. My problem was I was attempting to append the url only results directly from the email processing step to file.
 

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