L
Lee
Hi,
I have this template file that I am opening in my script.
<tr>
<td>{var1}</td>
<td>{var2}</td>
<td>
<table>
<tr>
<td>Name: {name3}</td>
<td>Age: {age3}</td>
</tr>
</table>
</td>
</tr>
Are there any good regular expressions to grab each tag and its
contents? I'm doing this in javascript, but I'm guessing that there
are some really good regex experts in this group.
If there are any perl, php, or javascript libraries out there for this
sort of thing, I'd like to know about it!
I have this template file that I am opening in my script.
<tr>
<td>{var1}</td>
<td>{var2}</td>
<td>
<table>
<tr>
<td>Name: {name3}</td>
<td>Age: {age3}</td>
</tr>
</table>
</td>
</tr>
Are there any good regular expressions to grab each tag and its
contents? I'm doing this in javascript, but I'm guessing that there
are some really good regex experts in this group.
If there are any perl, php, or javascript libraries out there for this
sort of thing, I'd like to know about it!