RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Grabbing title tag from web pages
Expression
<title>+(.*?)</title>
Description
This pattern could intercept the value of the tag title in every web pages, it could be found in $1.
Matches
<title>this title</title>
Non-Matches
any other tags
Author Rating: The rating for this expression. Cordisco Massimo
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: a better pattern
Name: zzzhc
Date: 7/20/2006 9:50:57 PM
Comment:
(?i)&lt;title\s*&gt;\s*(.*?)\s*&lt;/title\s*&gt;


Title: a better pattern
Name: zzzhc
Date: 7/20/2006 9:49:00 PM
Comment:
(?i)<title\s*>\s*(.*?)\s*</title\s*>


Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials