Tag Archives: extract
Match non-alphanumeric characters from a string
This is a snippet that matches non-alphanumeric characters from a string (text).
Read moreExtract alphanumeric sequences from a string
This short snippet is useful if you need to extract alphanumeric sequences (characters) from a string.
Read moreExtract alphabetical sequences from a string
This function extracts alphabetical sequences from a string.
Read moreHow to extract numbers from a string (text)
This is a short function that extracts numbers from a string.
Read moreCreating 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 moreGet Main Base URL
This is a snippet which extracts the Main Base Address from a complete URL.
Read moreHow 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 moreHow 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 moreExtract 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 moreExtracting 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