A practical example of extracting a complete HTML tag and its content from a string.