Extract e-mail from HTML file (next step?)
Posted: 23 Aug 2008 19:02
Hello,
What could be the next step of this script bellow to extract e-mail (1 by line) from HTML file like the source of this:
http://www.directories.ch/pagesjaunes/b ... ing&geo=GE
** USAGE: Drag and drop a HTML file ON the script.
Thanks
What could be the next step of this script bellow to extract e-mail (1 by line) from HTML file like the source of this:
http://www.directories.ch/pagesjaunes/b ... ing&geo=GE
** USAGE: Drag and drop a HTML file ON the script.
Thanks
Code: Select all
@ECHO OFF
@SETLOCAL ENABLEDELAYEDEXPANSION
CD /D "%~DP1"
IF "%~1"=="" (SET ErrU=1&GOTO:FinE)
ECHO.------------------------------
ECHO.Calcul en cours.
ECHO.Patientez ...
ECHO.
SET FN=%~nx1
SET FT1=%~n1_1.txt
TYPE Nul>%FT1%
FINDSTR /i /C:"MailTO" "%FN%">%FT1%
GOTO:FinN
:FinE
COLOR 0C
IF DEFINED ErrU (ECHO.*** USAGE : DRAG and DROP a file!)
:FinN
ENDLOCAL&ECHO.&ECHO.END. BYE ......&PING -n 2 LocalHost>Nul&EXIT /b::___________