Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Need help to shortest string in a match

  •  05-18-2011, 6:39 PM

    Need help to shortest string in a match

    How to find shortest string, first occurance it should return

    I have this string. I m looking for td whose value contains  blabla with closing td.

    <tr blabla><td>blabla big content</td></tr><tr><td>thisisnot</td></tr>

    I want only this string <tr blabla><td>blabla big content</td>

    I m using this regex in .net

    <tr.*><td>blabla.*</td></tr>

    I m new to regex... 

    Can any one tell me the way out.

    Filed under:
View Complete Thread