We shall consider two examples of creating a CSV file - a simple one, just e-mails, and the one a bit more complex - collecting e-mails and names.
C:\MyWebFiles*.htm* A tags. The expression would look like follows:[\w\.\_\d]+\@[\w\.\_\d]+\.\w+
where
[\w\.\_\d]+ matches all letters, dots, underscores and digits
C:\MyWebFiles\emails.csv. Set the Collected text to Found
text, and Text entry separator to New line.C:\MyWebFiles*.htm* A tags. The expression would look like follows:\<a[^\>\<]#href\=\"mailto\:([\w\.\_\d\@]+)\"[^\>\<]@\>([^\<]#)\<\/a\>
where
[^\>\<]# matches all extra information
between the tag name and HREF attribute;
([\w\.\_\d\@]+) matches and stores the e-mail address
(first stored expression);
([^\<]#) matches and stores the tag inner text
(second stored expression).
\2,\1
where
\2 is the stored inner text of a tag (contact person title);
\1 is the stored e-mail address.C:\MyWebFiles\emails.csv. | © 2002-2006 | This help file was built with |