i need the regular expression for the following html code:
<DIV style="FLOAT: none">
<H3>I. Infectious & Parasitic Diseases</H3></DIV>
<DIV class=text>790.7 Bacteremia (not septicemia)<BR>052.9 Chickenpox,
NOS<BR>111.9 Dermatomycosis, unspec.<BR>009.1 Gastroenteritis,
infectious<BR>007.1 Giardiasis<BR>098.0 Gonorrhea, acute, lower GU
tract<BR>054.9 Herpes simplex, any site<BR>053.9 Herpes zoster, NOS<BR>042 HIV
disease<BR>V08 HIV positive, asymptomatic<BR>075 Infectious
mononucleosis<BR>136.9 Infectious/parasitic diseases, unspec.<BR>487.1 Influenza
w/ URI symptoms<BR>007.9 Intestinal protozoa, NOS<BR>132.0 Lice, head<BR>088.81
Lyme disease<BR>112.0 Moniliasis, oral<BR>112.3 Moniliasis, skin/nails<BR>112.1
Moniliasis, vulva/vagina<BR>132.9 Pediculosis, unspec.<BR>127.4 Pinworms<BR>138
Polio, late effects<BR>795.5 Positive PPD<BR>082.0 Rocky mountain spotted
fever<BR>003.0 Salmonella gastroenteritis<BR>135 Sarcoidosis<BR>133.0
Scabies<BR>995.91 Sepsis<BR>038.9 Septicemia, NOS<BR>005.0 Staphylococcal food
poisoning<BR><SPAN class=red>034.0 Strep throat</SPAN><BR>097.9 Syphilis,
unspec.<BR>131.9 Trichomoniasis, unspec.<BR>011.90 Tuberculosis, pulmonary,
NOS<BR>099.9 Venereal disease, unspec.<BR>077.99 Viral conjunctivitis<BR>057.9
Viral exanthems, other, NOS<BR>070.9 Viral hepatitis, NOS<BR><SPAN
class=red>079.99 Viral infection, unspec.<BR>078.10 Warts, all
sites</SPAN><BR>078.11 Warts, condyloma</DIV>
for example i need to get I. Infectious & Parasitic Diseases that is in <h3> tag, and then get the subsequence items that is inside <div class=text>, which i must extrace the digit and name of item like for exampel last one : digit :078.11 name :Warts, condyloma!!
is possiple using regular expression?
best regards
Start Free Trial