Hi Cahit,

On Wed, 3 May 2006 20:06:58 +0100 Cahit Okten wrote:

> I have around 750 html files each one contains address, contact name
> and company name of a company I would like to do is to extract the
> company details into a database.

If you can match the strings that you want to extract by a regular
expression pattern, then you can use my "Batch search and extract"
script to extract the data from your HTML files and save them to another
file with one matched string per line.

More info about this script is given at the BBEdit Gems site:

 <http://bbeditgems.com/node/54>

The first link on that page is the download link to the script:

 <http://store.extracts.de/Batch_Search_Extract_v1-1.zip>

 (the second link on that site is incorrect and the description is
  slightly out-dated, though)

After unpacking of the Zip archive, open the resulting text file in
BBEdit (using ISO Latin 1 encoding) and make sure that you've read the
notes at the top of the script section. Enter your search & replacement
patterns as well as the path to the data file (which will hold the
extracted strings), then copy and paste the file's contents into a new
script editor document and save as ".scpt" file in BBEdit's script
folder: ~/Library/Application Support/BBEdit/Scripts

Best regards, Matthias
_____________________________________
Matthias Steffens     [EMAIL PROTECTED]
       http://www.extracts.de

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to