By: Tom Muck on Thursday, July 6, 2006
ColdFusion provides a lot of functionality in the form of tags, but some of the more powerful features require a bit of programming knowledge, like the use of regular expressions, XML functions, and the recursive function construct.
This tutorial will show how to use a regular expression to find all given elements in a string, then use an XML function to extract HTML attributes, and use a recursive function (calling a function from within the function until finished) to streamline the coding. In this case, we'll be searching for all links within a page, but the technique could be used to find email addresses, HTML tags, phone numbers, or other formatted pieces of text.
Purchase this item
You can purchase this piece of content separately for $4.00
Community MX members get unlimited access to daily articles, tutorials, extensions and support. The most comprehensive resource for Macromedia designers and developers today. Take a tour of what we offer, and discover the benefits of subscribing.
Already a member?
Simply log in using the form in the top right area of the site.