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

How to get the value from in between tags?

  •  06-04-2008, 4:32 AM

    How to get the value from in between tags?

    Hi Guys,

    I am just new to Regular Expressions. I am having problem pulling out the string value between tags.

    How can I get the text "Your Payment:" and "300.00"?

    I am using ASP.Net 2.0 and I haven't tried using the regex before. What is the correct pattern to apply here?

    Thanks

     

    Sample source:

    <tr>

    <td class="fieldLabel" style='width: 150px; height: 13px;' valign='top'>

    Your Payment:

    </td>

    <td class="fieldValue" style='height: 13px'>

    300.00

    </td>

    </tr>

    Filed under:
View Complete Thread