Regex - How to properly grab nested value - regex

I understand parsing html with a regex isn't ideal, but I have a use case for it.
I have this coverage report/html page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LCOV - .info.cleaned</title>
<link rel="stylesheet" type="text/css" href="gcov.css">
</head>
<body>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr><td class="title">LCOV - code coverage report</td></tr>
<tr><td class="ruler"><img src="glass.png" width=3 height=3 alt=""></td></tr>
<tr>
<td width="100%">
<table cellpadding=1 border=0 width="100%">
<tr>
<td width="10%" class="headerItem">Current view:</td>
<td width="35%" class="headerValue">top level</td>
<td width="5%"></td>
<td width="15%"></td>
<td width="10%" class="headerCovTableHead">Hit</td>
<td width="10%" class="headerCovTableHead">Total</td>
<td width="15%" class="headerCovTableHead">Coverage</td>
</tr>
<tr>
<td class="headerItem">Test:</td>
<td class="headerValue">.info.cleaned</td>
<td></td>
<td class="headerItem">Lines:</td>
<td class="headerCovTableEntry">399</td>
<td class="headerCovTableEntry">1019</td>
<td class="headerCovTableEntryLo">39.2 %</td>
</tr>
<tr>
<td class="headerItem">Date:</td>
<td class="headerValue">2016-11-07</td>
<td></td>
<td class="headerItem">Functions:</td>
<td class="headerCovTableEntry">22</td>
<td class="headerCovTableEntry">67</td>
<td class="headerCovTableEntryLo">32.8 %</td>
</tr>
<tr><td><img src="glass.png" width=3 height=3 alt=""></td></tr>
</table>
</td>
</tr>
<tr><td class="ruler"><img src="glass.png" width=3 height=3 alt=""></td></tr>
</table>
<center>
<table width="80%" cellpadding=1 cellspacing=1 border=0>
<tr>
<td width="50%"><br></td>
<td width="10%"></td>
<td width="10%"></td>
<td width="10%"></td>
<td width="10%"></td>
<td width="10%"></td>
</tr>
<tr>
<td class="tableHead">Directory <span class="tableHeadSort"><img src="glass.png" width=10 height=14 alt="Sort by name" title="Sort by name" border=0></span></td>
<td class="tableHead" colspan=3>Line Coverage <span class="tableHeadSort"><img src="updown.png" width=10 height=14 alt="Sort by line coverage" title="Sort by line coverage" border=0></span></td>
<td class="tableHead" colspan=2>Functions <span class="tableHeadSort"><img src="updown.png" width=10 height=14 alt="Sort by function coverage" title="Sort by function coverage" border=0></span></td>
</tr>
<tr>
<td class="coverFile">src</td>
<td class="coverBar" align="center">
<table border=0 cellspacing=0 cellpadding=1><tr><td class="coverBarOutline"><img src="ruby.png" width=39 height=10 alt="39.2%"><img src="snow.png" width=61 height=10 alt="39.2%"></td></tr></table>
</td>
<td class="coverPerLo">39.2 %</td>
<td class="coverNumLo">399 / 1019</td>
<td class="coverPerLo">32.8 %</td>
<td class="coverNumLo">22 / 67</td>
</tr>
</table>
</center>
<br>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr><td class="ruler"><img src="glass.png" width=3 height=3 alt=""></td></tr>
<tr><td class="versionInfo">Generated by: LCOV version 1.10</td></tr>
</table>
<br>
</body>
</html>
I am attempting to parse out the data from this line:
<td class="headerCovTableEntryLo">39.2 %</td>
as 39.2 (a float value).
I am currently using this regex to find two matching TD's:
<td class="headerCovTableEntryLo">[0-9.].*?.%<\/td>
I'm misunderstanding how groups work. I tried:
(<td class="headerCovTableEntryLo">[0-9.].*?.%<\/td>)[0-9.].*?\1
To take what was found in the first group and grab just the numberical values but I have zero matches. Can anyone lend some insight into what I am doing wrong?

Is this what you want to perform? (capture only the floating value):
<(td) class="headerCovTableEntryLo">([0-9.]+)\s?%<\/\1>
see it working here: https://regex101.com/r/qprROm/2
If so, if you try to reuse the first match you're making correct use of it with \1 or to etc to match which captured group. but in your trial you also captured the class which wont match in closing tag.
Not sure this is really what you try to do though. haha
Plus, in this case doing <(td)>(.*?)<\/\1> does not really make sense. It is more usefill if your usecase is something like this <(td|th|tr)>(.*?)<\/\1>
In the end if I was doing it I would rather do it this way for more flexibility: (?<=class="headerCovTableEntryLo">)([0-9.]+)(?=\s?%)
See it working here: https://regex101.com/r/qprROm/3

Related

Capella XHTML tables are not properly handled by M2Doc

I am using tables in Capella descriptions and found out that M2Doc fails at handling properly merged cells.
Here is an example of what I have in a Capella description:
<table border="1" bordercolor="#000000" cellpadding="2" cellspacing="1" dir="LTR" width="172">
<tbody>
<tr>
<td colspan="1" height="19" rowspan="2" width="50%">
<p align="CENTER">test</p>
</td>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">c</font></font></p>
</td>
</tr>
<tr>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">d</font></font></p>
</td>
</tr>
<tr>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">a</font></font></p>
</td>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">e</font></font></p>
</td>
</tr>
<tr>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">b</font></font></p>
</td>
<td height="19" width="50%">
<p align="LEFT"><font face="Calibri" size="3"><font face="Calibri" size="3">f</font></font></p>
</td>
</tr>
</tbody>
Table in Capella
The result in Word is the following:
enter image description here
Is that a known bug? I have used an online editor (link towards XHTML tool) to check the validity of the Capella XHTML code and it is valid. Therefore, I have the feeling it is the conversion to Word that is faulty.
Thank you very much,
Stephane
Merged cells are supported by M2Doc:
https://github.com/ObeoNetwork/M2Doc/blob/4cb5e1a2d852f1ec0e678906ae3bbcee791fa418/plugins/org.obeonetwork.m2doc/src/org/obeonetwork/m2doc/element/MTable.java#L169
But it is not used by the HTML service. I opened the following issue:
https://github.com/ObeoNetwork/M2Doc/issues/460

Get verification code from a html string code using regex

I am currently writing an automation script, Where I read email Gmail through API and i am getting below html content. Now i need only code 191418 from this html content, I want to take it using regex. I tried with this
.*([0-9]{6})
To find 6 digit code but its returns 10 matchings, I am not good at regex, Can someone please help me to get the code using regex?
<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><u></u>
<div>
<center id="m_-2051398760120817894wrapper">
<table id="m_-2051398760120817894main" width="100%">
<tbody><tr id="m_-2051398760120817894logo">
<td>
<table width="100%">
<tbody><tr>
<td>
<img src="test.com/logo.png" width="140px" alt="xxxxx Logo" style="padding:0 10px">
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="18px"></td>
</tr>
<tr id="m_-2051398760120817894header">
<td>
<table width="100%">
<tbody><tr>
<td height="64px" style="background-color:#10069f;color:#fff;padding-left:24px;font-weight:700">Reset your password</td>
</tr>
</tbody></table>
</td>
</tr>
<tr id="m_-2051398760120817894content">
<td>
<table width="100%">
<tbody><tr>
<td style="background-color:#f6f5ff;padding:24px 24px 16px 24px">
<p style="margin-top:0">The following is the verification code required to complete your password reset.</p>
<p style="margin-bottom:24px">Enter the following verification code on the screen during the registration, and proceed to the next step.</p>
<div style="display:block;text-align:center;margin-bottom:8px;background-color:#fff;height:92px;font-weight:600;font-size:36px;line-height:92px">191418</div>
<span style="display:block;font-size:12px;color:#5d5d5d">*The verification code is valid only for 24 hours.</span>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="24px"></td>
</tr>
<tr id="m_-2051398760120817894footer">
<td>
<table width="100%">
<tbody><tr>
<td style="background-color:#6d7777;padding:16px 24px;font-size:12px;color:#fff">
<table width="100%">
<tbody><tr>
<td id="m_-2051398760120817894footer-left">
<span style="display:block">amnimo Inc.</span>
<span style="display:block">0-3-30 usaa-fso, xxxxxxxx-shi, Tokyo, 180-8750, Japan</span>
<span style="display:block">Phone: +81-422-52-6779</span>
<span id="m_-2051398760120817894copyright-mb" style="margin-top:16px">© 2020 <div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><u></u>
<div>
<center id="m_-2051398760120817894wrapper">
<table id="m_-2051398760120817894main" width="100%">
<tbody><tr id="m_-2051398760120817894logo">
<td>
<table width="100%">
<tbody><tr>
<td>
<img src="https://test.com/logo.png" width="140px" alt="Amnimo Logo" style="padding:0 10px">
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="18px"></td>
</tr>
<tr id="m_-2051398760120817894header">
<td>
<table width="100%">
<tbody><tr>
<td height="64px" style="background-color:#10069f;color:#fff;padding-left:24px;font-weight:700">Reset your password</td>
</tr>
</tbody></table>
</td>
</tr>
<tr id="m_-2051398760120817894content">
<td>
<table width="100%">
<tbody><tr>
<td style="background-color:#f6f5ff;padding:24px 24px 16px 24px">
<p style="margin-top:0">The following is the verification code required to complete your password reset.</p>
<p style="margin-bottom:24px">Enter the following verification code on the screen during the registration, and proceed to the next step.</p>
<div style="display:block;text-align:center;margin-bottom:8px;background-color:#fff;height:92px;font-weight:600;font-size:36px;line-height:92px">191418</div>
<span style="display:block;font-size:12px;color:#5d5d5d">*The verification code is valid only for 24 hours.</span>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td height="24px"></td>
</tr>
<tr id="m_-2051398760120817894footer">
<td>
<table width="100%">
<tbody><tr>
<td style="background-color:#6d7777;padding:16px 24px;font-size:12px;color:#fff">
<table width="100%">
<tbody><tr>
<td id="m_-2051398760120817894footer-left">
<span style="display:block">test Inc.</span>
<span style="display:block">2-9-32 ssdsa-sss, puakano-shi, Tokyo, 000-8000, Japan</span>
<span style="display:block">Phone: +81-000-00-652</span>
<span id="m_-2051398760120817894copyright-mb" style="margin-top:16px">© 2020 amnimo Inc.</span>
</td>
<td id="m_-2051398760120817894footer-right">
<span style="display:block">© 2020 amnimo Inc.</span>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</center>
</div>
</div></div> Inc.</span>
</td>
<td id="m_-2051398760120817894footer-right">
<span style="display:block">© 2020 test Inc.</span>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</center>
</div>
</div></div>
You should use some DOM library that will let you query the element you want and get its content. Parsing HTML with regex is bad idea.
If you must do it, getting six numbers is not enough - after inspecting, I see that it's div content. So I would write something among the lines:
<div[^>]*>\d{6}<\/div>
Pattern explanation:
<div - match <div literally
[^>]* - match zero or more characters other from >
> - match > literally
\d{6} - match 6 digits
<\/div> - match <\/div> literally
Regex demo
EDIT
In order to extract desired text, use capturing groups:
<div[^>]*>(\d{6})<\/div>
Then text in first capturing group will be your desired result.
Maybe try word boundaries, which will prevent matching inside longer numbers:
\b([0-9]{6})\b
https://regex101.com/r/dQAiHU/1/

Graphviz/ Table/ How to merge cells

I would like to draw a graph like this -
I have Graphviz code like this -
digraph G {
"test" [
label = <<table border="0" cellspacing="0">
<tr>
<td port="f0" border="1" bgcolor="darkorange">TEST</td>
<td port="f1" border="1" bgcolor="darkorange"></td>
</tr>
<tr>
<td port="f2" border="1" bgcolor="cyan">A</td>
<td>
<table border="0" cellspacing="0">
<tr><td port="f3" border="1" bgcolor="azure">A1</td></tr>
<tr><td port="f4" border="1" bgcolor="azure">A2</td></tr>
<tr><td port="f5" border="1" bgcolor="azure">A3</td></tr>
</table>
</td>
</tr>
<tr>
<td port="f5" border="1" bgcolor="gray">Else</td>
<td port="f6" border="1" bgcolor="gray"></td>
</tr>
</table>>
shape = "none"
];
}
But it gives the graph like this
Would you please suggest how can we tweak the code to achieve the objective - merging f0, f1 on top and f5,f6 at bottom?
You can use HTML <td>s with colspan and rowspan attributes in GraphViz. These allow one cell to span multiple columns and/or rows inside a table.
This also simplifies your digraph, as only one table is needed.
digraph G {
"test" [
label = <<table border="0" cellspacing="0">
<tr>
<td colspan="2" port="f0" border="1" bgcolor="darkorange">TEST</td>
</tr>
<tr>
<td rowspan="3" port="f5" border="1" bgcolor="blue">A</td>
<td port="f6" border="1" bgcolor="white">A1</td>
</tr>
<tr>
<td port="f6" border="1" bgcolor="white">A2</td>
</tr>
<tr>
<td port="f6" border="1" bgcolor="white">A3</td>
</tr>
<tr>
<td colspan="2" port="f0" border="1" bgcolor="grey">Else</td>
</tr>
</table>>
shape = "none"
];
}
This gives you the following basic output, which you can then customize for spacing, line colors, etc:
This one also works. what's is the difference?
digraph G {
"test" [
label = <<table border="0" cellspacing="0">
<tr><td colspan="2" port="f0" border="1" bgcolor="darkorange">TEST</td> </tr>
<tr><td rowspan="4" port="f5" border="1" bgcolor="blue">A</td></tr>
<tr><td port="f6" border="1" bgcolor="white">A1</td></tr>
<tr><td port="f6" border="1" bgcolor="white">A2</td></tr>
<tr><td port="f6" border="1" bgcolor="white">A3</td></tr>
<tr><td colspan="2" port="f0" border="1" bgcolor="grey">Else</td></tr>
</table>>
shape = "none"
];
}

Using Regular Expressions in DW to copy attributes from one tag into another

I'm trying to copy an tag, with attributes from one place in my HTML into another place via Regular Expressions in Dreamweaver. Specifically, I would like to take the following code:
<i class="icon-camera"></i></td>
<td class="lastName"><a name="smith" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/joe-smith/" rel="nofollow">Smith</a>
and do a Find/Replace with Regular Expressions enabled, so that the code is replaced with the following syntax:
<a name="smith" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/joe-smith/" rel="nofollow"><i class="icon-camera"></i></a></td>
<td class="lastName"><a name="smith" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/joe-smith/" rel="nofollow">Smith</a>
Basically, it's wrapping the tag pair with the same tag used in the next line.
The Find/Replace I've tried so far is:
Find:
<i class="icon-camera"></i></td>
<td class="lastName"><a(.*)>(.*)</a>
Replace:
<a$1><i class="icon-camera"></i></a></td>
<td class="lastName"><a$1>$2</a>
Also, to be clear, I'm trying to do this for about 300 (out of about 450) instances where exists in my HTML. So some sample data to use would look like:
<tr>
<td class="photo" style="text-align: center;" align="center"><i class="icon-camera"></i></td>
<td class="lastName"><a name="davis" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/kathy-aldrich/" rel="nofollow">Davis</a></td>
<td class="firstName"><a name="david" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/kathy-aldrich/" rel="nofollow">David</a></td>
<td class="businessPhone">509-555-2353</td>
<td class="emailAddress">davidd#mywebsite.com</td>
<td class="office">1822</td>
<td class="department">Shipping</td>
</tr>
<tr>
<td class="photo" style="text-align: center;" align="center"><i class="icon-camera"></i></td>
<td class="lastName"><a name="allen" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/alan-allen/" rel="nofollow">Allen</a></td>
<td class="firstName"><a name="alan" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/alan-allen/" rel="nofollow">Alan</a></td>
<td class="businessPhone">509-555-2027</td>
<td class="emailAddress">alana#mywebsite.com</td>
<td class="office">1481</td>
<td class="department">Marketing</td>
</tr>
<tr>
<td class="photo" style="text-align: center;" align="center"> </td>
<td class="lastName"><a name="buttons" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/benjamin-buttons/" rel="nofollow">Buttons</a></td>
<td class="firstName"><a name="benjamin" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/benjamin-buttons/" rel="nofollow">Benjamin</a></td>
<td class="businessPhone">509-555-2250</td>
<td class="emailAddress">benjaminb#mywebsite.com</td>
<td class="office">3013</td>
<td class="department">HR</td>
</tr>
<tr>
<td class="photo" style="text-align: center;" align="center"><i class="icon-camera"></i></td>
<td class="lastName"><a name="Lenore" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/luis-lenore/" rel="nofollow">Lenore</a></td>
<td class="firstName"><a name="luis" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/luis-lenore/" rel="nofollow">Luis</a></td>
<td class="businessPhone">509-555-2042</td>
<td class="emailAddress">luisl#mywebsite.com</td>
<td class="office">1432</td>
<td class="department">Support</td>
</tr>
In the Find box, put the following:
(<i class="icon-camera"></i>)(</td>)
and in Replace box:
<a name="smith" class="lbp_secondary" href="http://www.mywebsite.com/contact-us/directory/joe-smith/" rel="nofollow">$1</a>$2
To find the first occurence of <i class="icon-camera"></i> and wrap it in with a copy of the next <a> tag:
Find:
(<i class="icon-camera"></i>)([\s\S]*?)(<a [^>]*>)
Replace:
$3$1</a>$2$3
DEMO
Notice I used [\s\S]*?, which is exactly the same as .*? but it will also match newlines.
The extra ? makes a quantifier lazy.

Extract name from a html

Hello I know there are some modules in perl to extract tags from html source files but I need to extract this quicly: Name CA. THAKRAR UTSAV SUBHASH.
http://regex101.com/r/dZ8mY1/1
<b>(Name)<\/b>.*?<b>(?!<\/font>|:)(.*?)<\/b>
Try this . See demo.
http://regex101.com/r/dZ8mY1/3
Always use an HTML Parser for parsing html.
The following uses Mojo::DOM to find the value for which you're searching. For a helpful 8 minute introductory video to this module, check out Mojocast Episode 5.
use strict;
use warnings;
use Mojo::DOM;
my $dom = Mojo::DOM->new(do {local $/; <DATA>});
for my $td($dom->find('td')->each) {
next if $td->all_text ne 'Name';
my $next = $td;
while ($next = $next->next_sibling) {
last if $next->node eq 'tag' and $next->all_text !~ /^[[:punct:]\s]*$/;
}
print $next->all_text, "\n";
}
__DATA__
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Member Card The Institute of Chartered Accountants of India</title>
<script language="javascript" type="text/javascript">
<!-- var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no'; win=window.open(mypage,myname,settings);} // -->
</script>
<script language="JavaScript1.1">
<!-- Original: Vivek Gupta --> <!-- Begin function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert("Sorry, you do not have permission to right click."); return false; } return true; } document.onmousedown=right; document.onmouseup=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (document.layers) window.captureEvents(Event.MOUSEUP); window.onmousedown=right; window.onmouseup=right; // End -->
</script>
</head>
<body bgcolor="#ECFFFF">
<p align="center"><u><i><b><font size="5">Members Details as on
Date</font></b></i></u></p>
<hr>
<div align="right">
<table border="0" width="100%">
<tr>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Membership No.</b></font></td>
<td width="2%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="25%" bgcolor="#99CCFF"><font size="2"><b>140337, </b></font> <b><font color="#FF0000" size="3">ACTIVE</font></b></td>
<td width="8%" bgcolor="#CCCCFF"><font size="2"><b>Sex</b></font></td>
<td width="1%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="18%" bgcolor="#99CCFF"><font size="2"><b>M</b></font></td>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Date of Birth</b></font></td>
<td width="1%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="38%" bgcolor="#99CCFF"><font size="2"><b>30/12/1986</b></font></td>
</tr>
<tr>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Name</b></font></td>
<td width="2%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="25%" bgcolor="#99CCFF"><font size="2"><b>CA. THAKRARUTSAV SUBHASH</b></font></td>
<td width="8%" bgcolor="#CCCCFF"><font size="2"><b>Blood Grp</b></font></td>
<td width="1%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="18%" bgcolor="#99CCFF"><font size="2"><b>B (-)</b></font></td>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Enrolment Dt.</b></font></td>
<td width="1%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="38%" bgcolor="#99CCFF"><font size="2"><b>29/07/2011</b></font></td>
</tr>
<tr>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Asso. / Fellow</b></font></td>
<td width="2%" bgcolor="#99CCFF">:</td>
<td width="25%" bgcolor="#99CCFF"><font size="2"><b>ACA</b></font></td>
<td width="8%" bgcolor="#CCCCFF"><font size="2"><b>Nationality</b></font></td>
<td width="1%" bgcolor="#99CCFF"></td>
<td width="18%" bgcolor="#99CCFF"><font size="2"><b>IND</b></font></td>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>FellowDate</b></font></td>
<td width="1%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="38%" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
</tr>
<tr>
<td width="13%" bgcolor="#CCCCFF"><font size="2"><b>Father's Name</b></font></td>
<td width="2%" bgcolor="#99CCFF"><font size="2"><b>:</b></font></td>
<td width="25%" bgcolor="#99CCFF"><font size="2"><b>SUBHASH THAKRAR</b></font></td>
<td width="8%" bgcolor="#CCCCFF"></td>
<td width="1%" bgcolor="#99CCFF"></td>
<td width="18%" bgcolor="#99CCFF"></td>
<td width="13%" bgcolor="#CCCCFF"><b><font size="2">COP Status</font></b></td>
<td width="1%" bgcolor="#99CCFF"><b>:</b></td>
<td width="27%" bgcolor="#99CCFF"><font size="2"><b>FULLTIME</b></font></td>
</tr>
</table>
</div>
<hr>
<div align="right">
<table border="0" width="100%">
<tr>
<td width="50%" colspan="2" bgcolor="#CCCCFF"><u><font size="2"><b>Professional Address Details</b></font></u></td>
<td width="50%" colspan="2" bgcolor="#CCCCFF"><u><font size="2"><b>Residential Address Details</b></font></u></td>
</tr>
<tr>
<td width="50%" colspan="2"></td>
<td width="50%" colspan="2"></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>OPP PUNJAB NATIONAL BANK</b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>M/S CHATRABHUJ SAVJI & CO</b></font></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>SUTARWADA</b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>SUTARWADA</b></font></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>PORBANDAR - 360575</b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>PORBANDAR - 360575</b></font></td>
</tr>
<tr>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>INDIA</b></font></td>
<td width="50%" colspan="2" bgcolor="#99CCFF"><font size="2"><b>INDIA</b></font></td>
</tr>
<tr>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Tel. No.</b></font></td>
<td width="36%" bgcolor="#99CCFF"><font size="2"><b>0286-2243863</b></font></td>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Tel. No.</b></font></td>
<td width="34%" bgcolor="#99CCFF"><font size="2"><b>0286 2245641</b></font></td>
</tr>
<tr>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Fax. No.</b></font></td>
<td width="36%" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Fax. No.</b></font></td>
<td width="34%" bgcolor="#99CCFF"><font size="2"><b> </b></font></td>
</tr>
<tr>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Mob. No.</b></font></td>
<td width="36%" bgcolor="#99CCFF"><font size="2"><b>09409059418</b></font></td>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>Mob. No.</b></font></td>
<td width="34%" bgcolor="#99CCFF"><font size="2"><b>09409059418</b></font></td>
</tr>
<tr>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>E-mail.</b></font></td>
<td width="36%" bgcolor="#99CCFF"><font size="2"><b>usthakrar#gmail.com</b></font></td>
<td width="14%" bgcolor="#CCCCFF"><font size="2"><b>E-mail.</b></font></td>
<td width="34%" bgcolor="#99CCFF"><font size="2"><b>usthakrar#gmail.com</b></font></td>
</tr>
</table>
</div>
<hr>
<div align="right">
<table border="0" width="100%">
<tr>
<td width="29%"><b><font color="#0000FF">Member Employment Details</font></b></td>
<td width="27%"><b><font color="#0000FF">Member Firm Association Details</font></b></td>
<td width="44%"><b><font color="#0000FF">Article / Audit (List of Student undergoing Training with details)</font></b></td>
</tr>
<tr>
<td width="29%">.</td>
<td width="27%"></td>
<td width="44%">.</td>
</tr>
<tr>
<td width="100%" colspan="3" align="center"><b><font color="#0000FF">Search Firm Registered / Approved with ICAI as on Date</font></b></td>
</tr>
</table>
</div>
<p> </p>
<hr>
<p> </p>
</body>
</html>
Outputs:
CA. THAKRARUTSAV SUBHASH