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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find TR Content
Expression
(?s)<tr[^>]*>(?<content>.*?)</tr>
Description
Matches complete table rows (<tr>...</tr>) and puts everything between the tr tags into a group named "content".
Matches
<tr><td>abc</td></tr>
Non-Matches
<tr><td>abc</td>
Author Rating: Not yet rated. Kevin Spencer
Source Kevin Spencer
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: Any TAG content
Name: Veaceslav Panfil
Date: 12/28/2007 3:56:48 AM
Comment:
(<(\w*)[^>/]*>)(?<content>.*?)(</\2>)


Title: gis
Name: gis
Date: 6/28/2007 5:59:25 AM
Comment:
works allright


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