Line Splitting
Posted: Thu Mar 04, 2004 3:16 pm
Hi all,
I'm wondering if someone can help me with a bit of a problem, I have a text file that I need to seperate out into individual lines between the HTML tags but I cant work out how to do it, I am thinking that I will need to use a macro but not sure how to go about it, the file text looks something like below.
<H2>ASH</H2> <P class=info>3 beds; Sng garage; Please contact us for price information.<BR></P> <DIV class=infoLinks><A href="PropertySearch.aspx?HouseStyle=1869&ShowHome=Y">Showhome</A> | <A href="ShowLargeFloorPlan.aspx?StyleName=ASH">View Floorplan</A> | <A href="ShowLargeStyleImage.aspx?StyleName=ASH">View Large Image</A> </DIV> <DIV class=rule></DIV><IMG class=thumb id=rptHouses__ctl1_imgHousesImage style="WIDTH: 80px; HEIGHT: 60px" alt=Fir src="/images/portfolio/fir_tn.gif" border=0> <H2>FIR</H2> <P class=info>3 beds; None garage; Please contact us for price information.<BR></P> <DIV class=infoLinks><A href="PropertySearch.aspx?HouseStyle=1955&ShowHome=Y">Showhome</A> | <A href="ShowLargeFloorPlan.aspx?StyleName=Fir">View Floorplan</A> | <A href="ShowLargeStyleImage.aspx?StyleName=Fir">View Large Image</A> </DIV> <DIV class=rule></DIV><IMG class=thumb id=rptHouses__ctl2_imgHousesImage style="WIDTH: 80px; HEIGHT: 60px" alt=Lime src="/images/portfolio/lime_tn.gif" border=0>
<H2>ASH</H2> Is the beginning of the line
border=0> Is the end of the line,
I have tried to make this as clear as possible and if anyone can help I would be grateful.
Thanks Phil
I'm wondering if someone can help me with a bit of a problem, I have a text file that I need to seperate out into individual lines between the HTML tags but I cant work out how to do it, I am thinking that I will need to use a macro but not sure how to go about it, the file text looks something like below.
<H2>ASH</H2> <P class=info>3 beds; Sng garage; Please contact us for price information.<BR></P> <DIV class=infoLinks><A href="PropertySearch.aspx?HouseStyle=1869&ShowHome=Y">Showhome</A> | <A href="ShowLargeFloorPlan.aspx?StyleName=ASH">View Floorplan</A> | <A href="ShowLargeStyleImage.aspx?StyleName=ASH">View Large Image</A> </DIV> <DIV class=rule></DIV><IMG class=thumb id=rptHouses__ctl1_imgHousesImage style="WIDTH: 80px; HEIGHT: 60px" alt=Fir src="/images/portfolio/fir_tn.gif" border=0> <H2>FIR</H2> <P class=info>3 beds; None garage; Please contact us for price information.<BR></P> <DIV class=infoLinks><A href="PropertySearch.aspx?HouseStyle=1955&ShowHome=Y">Showhome</A> | <A href="ShowLargeFloorPlan.aspx?StyleName=Fir">View Floorplan</A> | <A href="ShowLargeStyleImage.aspx?StyleName=Fir">View Large Image</A> </DIV> <DIV class=rule></DIV><IMG class=thumb id=rptHouses__ctl2_imgHousesImage style="WIDTH: 80px; HEIGHT: 60px" alt=Lime src="/images/portfolio/lime_tn.gif" border=0>
<H2>ASH</H2> Is the beginning of the line
border=0> Is the end of the line,
I have tried to make this as clear as possible and if anyone can help I would be grateful.
Thanks Phil