Pytanie : Wydobywać data i część the linia od plik-dziennik

Cześć Gurus

I mieć plik-dziennik (Web_out.log) który zawierać the następujący przykład linia

2010-07-27 00:00: 00 [aaaaaaaaaa] ol/cvw/oihwHWEHVOWNSHHSHSHSOhhhhhhhhh - Dane using SQL: WYBIÓRKA * OD xxxxxxxxx
any stary tekst here
2010-07-27 00:00: 01any stary tekst here
any stary tekst here
any stary tekst here
2010-07-27 00:00: 01 [aaaaaaaaaa] ol/cvw/oihwHWEHVOWNSHHSHSHSOhhhhhhhhh - Dane: : \ ggggggggg \ gggg \ g
any stary tekst here
any stary tekst here
2010-07-27 00:01: 30 [aaaaaaaaaa] ol/cvw/oihwHWEHVOWNSHHSHSHSOhhhhhhhhh - Dane using SQL: WYBIÓRKA * OD xxxxxxxxx
any stary tekst here
2010-07-27 00:05: 01 wcale stary tekst here
any stary tekst here
any stary tekst here
2010-07-27 00:30: 01any stary tekst here
2010-07-27 00:34: 21 [aaaaaaaaaa] ol/cvw/oihwHWEHVOWNSHHSHSHSOhhhhhhhhh - Dane: : \ ggggggggg \ gggg \ g
any stary tekst here

I polubić vbs pismo który wybierać stary the linia który zawierać "- Dane using SQL: " i "- Dane: " i pisać wtedy plik-dziennik.
But I chcieć the całość linia w the bela, tylko the folować timestamp i the "- Dane using SQL: " i "- Dane: " część the line.


example plik-dziennik (Web_out_results.txt)

2010-07-27 00:00: 00 - Dane using SQL:
2010-07-27 00:00: 01 - Dane:
2010-07-27 00:01: 30 - Dane using SQL:
2010-07-27 00:34: 21 - Dane:

Thanks dla twój help
Willyboy2

Odpowiedź : Wydobywać data i część the linia od plik-dziennik

I badać świetnie w świetnie mój projekt i ono pracować świetnie.

http://www.codeproject.com/KB/IP/Sending_Emails_From_GMAIL.aspx

Mieć Nadzieję że pomoc.
Inne rozwiązania  
 
programming4us programming4us