I have a regular expression that reads a html page and strips out data from a table.
The original html tag was
<td lablel=M_taxes>$123</td>
the regular expression found the TD tag with M_taxes and pulled out the data between the <td> tags.
//regular expression for taxes
Regex reg_taxes = new Regex("M_taxes.*?>(.*?)</td>", [login to view URL]);
Match m_taxes = [login to view URL](strHTMLPage);
string taxes = "";
if ([login to view URL]) { taxes = [login to view URL]("$1"); }
However the html has changed so that I am not giving such an easy label to use to find each value
<DIV
style="PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 11px; Z-INDEX: 2; LEFT: 375px; VERTICAL-ALIGN: top; OVERFLOW: hidden; WIDTH: 40px; COLOR: #000000; FONT-FAMILY: tahoma; WHITE-SPACE: nowrap; POSITION: absolute; TOP: 195px; HEIGHT: 16px; TEXT-OVERFLOW: ellipsis; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left">4139</DIV>
I need to change the above regular exrpession so that it finds the value inside the <DIV> tag that has botha TOP position of TOP:195px and a LEFT positio of LEFT:375px. It may or may not be the case that left value is before the top value. It is only true for sure that both the top and left value will be inside the tag.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
code is in C# however the only change required is to the regular expression.