cwalsh1979
New member
- Joined
- Mar 15, 2007
- Messages
- 2
- Programming Experience
- 1-3
Does anyone know how to retrieve the each of the values in the following list and put them into an array? With VB.NET and regular expressions....
The resulting array should look like this:
array("<li><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>",
"<li class="subnav"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>",
"<li class="subnav2"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>")
HTML:
<ucms:menuitem>
<li><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>
</ucms:menuitem>
<ucms:menuitem>
<li class="subnav"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>
</ucms:menuitem>
<ucms:menuitem>
<li class="subnav2"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>
</ucms:menuitem>
array("<li><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>",
"<li class="subnav"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>",
"<li class="subnav2"><a href="<ucms:menuitem_url>"><ucms:menuitem_name></a></li>")
Last edited by a moderator: