Saturday, July 4th, 2009

Tag Archives: extract

Match non-alphanumeric characters from a string

This is a snippet that matches non-alphanumeric characters from a string (text).

Read more

Extract alphanumeric sequences from a string

This short snippet is useful if you need to extract alphanumeric sequences (characters) from a string.

Read more

Extract alphabetical sequences from a string

This function extracts alphabetical sequences from a string.

Read more

How to extract numbers from a string (text)

This is a short function that extracts numbers from a string.

Read more

Creating a simple web data (spider) extractor

This is a simple tutorial about creating a simple web data extractor that will fetch specific content from a URL.

Read more

Get Main Base URL

This is a snippet which extracts the Main Base Address from a complete URL.

Read more

How to extract username from an e-mail address string

If you need to extract the username from an e-mail address string then this snippet can help you. For instance, you can use this function inside a loop, while selecting emails from a database.

Read more

How to extract domain name from an e-mail address string

If, for any reason, you need to extract the domain from an e-mail address (or from multiple e-mail address that are in a database) then this snippet can help you.

Read more

Extract URL(s) from Link(s)

This is a script which extracts URLs from Links. The function gets the content from the HREF attribute and ignores the non-urls like: “javascript: openWindow()”.

Read more

Extract images from an URL

Here

Read more

Extracting content between two delimiters

Here’s a function which is useful when you need to extract some content between two delimiters. For instance you need to extract content using a robot that connects to a page.

Read more