Subscribe
Tutorial search

ASP Regular Expressions Tutorials


Sort by:
Displaying HTML files from your ASP page
Displaying HTML files from your ASP page
Often you will need to display the contents of a file on your server. This article shows you what regular expressions to use to successfully display HTML, including automatically making any hyperlinks live.
Difficulty:
A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions
A 'Print This Page' Script Using the MS-XMLHTTP object and Regular Expressions
This 2-page article describes how to create a Printer Friendly Page using Microsoft's XMLHTTP component along with regular expressions. It shows how to use XMLHTTP to perform an actual HTTP GET request for the page that you wish to display in a Printer Friendly format. Then, it utilizes regular expressions to pick out chunks of text that the Web page author has defined to not appear in the Printer Friendly format. A neat read highlighting the capabilities of the XMLHTTP component and regular expressions.
Difficulty:
Stripping HTML Tags using Regular Expressions
Stripping HTML Tags using Regular Expressions
This article examines how to strip HTML tags using regular expressions. Regular expressions are nifty little buggers that can be used to perform advanced string pattern matching and replacing.
Difficulty:
Email Validation
Email Validation
This code sample demonstrates how to validate an email address using regular expressions. It ensures that an email address is properly syntaxed and ends with a valid TLD (top level domain).
Difficulty:
Search Term(s) (2): regular expressions