<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; UDF &#8211; User Defined Function to Strip HTML &#8211; Parse HTML &#8211; No Regular Expression</title>
	<atom:link href="http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fernando</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-57053</link>
		<dc:creator>Fernando</dc:creator>
		<pubDate>Tue, 27 Oct 2009 00:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-57053</guid>
		<description>Nice solution, i have been searching for something that remove the html code embbebed in a string, you usually think in a complex solution, i thougth to solve this using regular expresions, but this is a easy and beauty way to do it.

Thanks and regards from Mexico.</description>
		<content:encoded><![CDATA[<p>Nice solution, i have been searching for something that remove the html code embbebed in a string, you usually think in a complex solution, i thougth to solve this using regular expresions, but this is a easy and beauty way to do it.</p>
<p>Thanks and regards from Mexico.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-57029</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Mon, 26 Oct 2009 08:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-57029</guid>
		<description>Thanks for the code.
easiest way to do it :)</description>
		<content:encoded><![CDATA[<p>Thanks for the code.<br />
easiest way to do it :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jawrat</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-56506</link>
		<dc:creator>jawrat</dc:creator>
		<pubDate>Wed, 07 Oct 2009 19:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-56506</guid>
		<description>B&quot;H

YESSSS!  Thank you for making this available.  Works like a charm!</description>
		<content:encoded><![CDATA[<p>B&#8221;H</p>
<p>YESSSS!  Thank you for making this available.  Works like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Nikam</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-55519</link>
		<dc:creator>Dilip Nikam</dc:creator>
		<pubDate>Wed, 02 Sep 2009 11:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-55519</guid>
		<description>For Eg...

SELECT dbo.udf_StripHTML(&#039; v\:* {behavior:url(#default#VML);}&lt;b&gt;UDF at SQLAuthority.com &lt;/b&gt;&lt;a href=&quot;http://www.SQLAuthority.com&quot; rel=&quot;nofollow&quot;&gt;SQLAuthority.com&lt;/a&gt;alert(&quot;Hi&quot;); function testFunction(){alert(&quot;Done&quot;);}&#039;)</description>
		<content:encoded><![CDATA[<p>For Eg&#8230;</p>
<p>SELECT dbo.udf_StripHTML(&#8216; v\:* {behavior:url(#default#VML);}<b>UDF at SQLAuthority.com </b><a href="http://www.SQLAuthority.com" rel="nofollow">SQLAuthority.com</a>alert(&#8220;Hi&#8221;); function testFunction(){alert(&#8220;Done&#8221;);}&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dilip Nikam</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-55518</link>
		<dc:creator>Dilip Nikam</dc:creator>
		<pubDate>Wed, 02 Sep 2009 11:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-55518</guid>
		<description>Hi,

Here i am update this query for removing style &amp; script....

Just replacing chars with blank between this TAG&#039;s [] - [] &amp; [&lt;script *] - []


Alter FUNCTION [dbo].[udf_StripHTML]
(@HTMLText VARCHAR(MAX))
RETURNS VARCHAR(MAX)
AS
BEGIN
	DECLARE @Start INT
	DECLARE @End INT
	DECLARE @Length INT
	
	SET @Start = CHARINDEX(&#039;&#039;,@HTMLText)
	SET @End = (len(&#039;&#039;)-1)+CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039;&#039;,@HTMLText))
	SET @Length = (@End - @Start) + 1
	WHILE @Start &gt; 0 AND @End &gt; 0 AND @Length &gt; 0
	BEGIN
		
		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#039;&#039;)
		SET @Start = CHARINDEX(&#039;&#039;,@HTMLText)
		SET @End = (len(&#039;&#039;)-1) + CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039;&#039;,@HTMLText))
		SET @Length = (@End - @Start) + 1
	END

	SET @Start = CHARINDEX(&#039;&lt;script&#039;,@HTMLText)
	SET @End = (len(&#039;&#039;)-1)+CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039; 0 AND @End &gt; 0 AND @Length &gt; 0
	BEGIN
		
		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#039;&#039;)
		SET @Start = CHARINDEX(&#039;&lt;script&#039;,@HTMLText)
		SET @End = (len(&#039;&#039;)-1) + CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039;&lt;script&#039;,@HTMLText))
		SET @Length = (@End - @Start) + 1
	END

	SET @Start = CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039; 0 AND @End &gt; 0 AND @Length &gt; 0
	BEGIN
		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#039;&#039;)
		SET @Start = CHARINDEX(&#039;&#039;,@HTMLText,CHARINDEX(&#039;&lt;&#039;,@HTMLText))
		SET @Length = (@End - @Start) + 1
	END

		

	RETURN LTRIM(RTRIM(@HTMLText))
END
GO</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Here i am update this query for removing style &amp; script&#8230;.</p>
<p>Just replacing chars with blank between this TAG&#8217;s [] &#8211; [] &amp; [&lt;script *] &#8211; []</p>
<p>Alter FUNCTION [dbo].[udf_StripHTML]<br />
(@HTMLText VARCHAR(MAX))<br />
RETURNS VARCHAR(MAX)<br />
AS<br />
BEGIN<br />
	DECLARE @Start INT<br />
	DECLARE @End INT<br />
	DECLARE @Length INT</p>
<p>	SET @Start = CHARINDEX(&#8221;,@HTMLText)<br />
	SET @End = (len(&#8221;)-1)+CHARINDEX(&#8221;,@HTMLText,CHARINDEX(&#8221;,@HTMLText))<br />
	SET @Length = (@End &#8211; @Start) + 1<br />
	WHILE @Start &gt; 0 AND @End &gt; 0 AND @Length &gt; 0<br />
	BEGIN</p>
<p>		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#8221;)<br />
		SET @Start = CHARINDEX(&#8221;,@HTMLText)<br />
		SET @End = (len(&#8221;)-1) + CHARINDEX(&#8221;,@HTMLText,CHARINDEX(&#8221;,@HTMLText))<br />
		SET @Length = (@End &#8211; @Start) + 1<br />
	END</p>
<p>	SET @Start = CHARINDEX(&#8216;&lt;script&#039;,@HTMLText)<br />
	SET @End = (len(&#039;&#8217;)-1)+CHARINDEX(&#8221;,@HTMLText,CHARINDEX(&#8216; 0 AND @End &gt; 0 AND @Length &gt; 0<br />
	BEGIN</p>
<p>		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#8221;)<br />
		SET @Start = CHARINDEX(&#8216;&lt;script&#039;,@HTMLText)<br />
		SET @End = (len(&#039;&#8217;)-1) + CHARINDEX(&#8221;,@HTMLText,CHARINDEX(&#8216;&lt;script&#039;,@HTMLText))<br />
		SET @Length = (@End &#8211; @Start) + 1<br />
	END</p>
<p>	SET @Start = CHARINDEX(&#039;&#8217;,@HTMLText,CHARINDEX(&#8216; 0 AND @End &gt; 0 AND @Length &gt; 0<br />
	BEGIN<br />
		SET @HTMLText = STUFF(@HTMLText,@Start,@Length,&#8221;)<br />
		SET @Start = CHARINDEX(&#8221;,@HTMLText,CHARINDEX(&#8216;&lt;&#039;,@HTMLText))<br />
		SET @Length = (@End &#8211; @Start) + 1<br />
	END</p>
<p>	RETURN LTRIM(RTRIM(@HTMLText))<br />
END<br />
GO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Priya Srinivas</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-52910</link>
		<dc:creator>Priya Srinivas</dc:creator>
		<pubDate>Wed, 10 Jun 2009 15:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-52910</guid>
		<description>This does not strip &amp;nbsp.</description>
		<content:encoded><![CDATA[<p>This does not strip &amp;nbsp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Mitchell</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-49131</link>
		<dc:creator>Tim Mitchell</dc:creator>
		<pubDate>Sun, 15 Mar 2009 19:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-49131</guid>
		<description>Thanks for posting this function.  Very useful.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this function.  Very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kookimebux</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-46205</link>
		<dc:creator>kookimebux</dc:creator>
		<pubDate>Sun, 01 Feb 2009 18:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-46205</guid>
		<description>Hello. And Bye. :)</description>
		<content:encoded><![CDATA[<p>Hello. And Bye. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45882</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Thu, 22 Jan 2009 07:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45882</guid>
		<description>P.S. Seems that the form for comment submission modified the characters within the quotes. I&#039;ll try to include the text again - please update the previous posting if possible and remove that one.

examples:
`Check out the content:   And here should be the end`
`Check out the content:   And here should be the end`

and function:

CREATE FUNCTION [dbo].[uf_strip_html] (
	@stingWithHTML varchar(max)
) RETURNS varchar(max)
AS
BEGIN
	/* first part is to replace HTML entities with appropriate (for my needs) characters */
	-- replacing &amp; with &amp;
	set @stingWithHTML = replace(@stingWithHTML, `&amp;`, `&amp;`);
	-- replacing &#160; with space
	set @stingWithHTML = replace(@stingWithHTML, `&#160;`, ` `);
	-- replacing  with space - I don`t need to count these ones
	set @stingWithHTML = replace(@stingWithHTML, ``, ` `);
	
	declare @start int, @end int;
	set @start = charindex(``, @stingWithHTML);

	-- by now should already have the text with almost clean html tags and need to exctract content between those
	while (@start &gt; 0 and @end &gt; 0)
	begin
		set @stingWithHTML = stuff(@stingWithHTML, @start, @end - @start + 1, ``);
		set @start = charindex(``, @stingWithHTML);
	end;
	
	-- removing front/trailing spaces if any
	set @stingWithHTML = ltrim(rtrim(@stingWithHTML));

	/* replacing these entities just now in order not to strip those during text extraction */
	-- replacing &lt; with &lt;
	set @stingWithHTML = replace(@stingWithHTML, `&lt;`, `
	set @stingWithHTML = replace(@stingWithHTML, `&gt;`, `&gt;`);

	RETURN @stingWithHTML;
END
go</description>
		<content:encoded><![CDATA[<p>P.S. Seems that the form for comment submission modified the characters within the quotes. I&#8217;ll try to include the text again &#8211; please update the previous posting if possible and remove that one.</p>
<p>examples:<br />
`Check out the content:   And here should be the end`<br />
`Check out the content:   And here should be the end`</p>
<p>and function:</p>
<p>CREATE FUNCTION [dbo].[uf_strip_html] (<br />
	@stingWithHTML varchar(max)<br />
) RETURNS varchar(max)<br />
AS<br />
BEGIN<br />
	/* first part is to replace HTML entities with appropriate (for my needs) characters */<br />
	&#8211; replacing &amp; with &amp;<br />
	set @stingWithHTML = replace(@stingWithHTML, `&amp;`, `&amp;`);<br />
	&#8211; replacing &nbsp; with space<br />
	set @stingWithHTML = replace(@stingWithHTML, `&nbsp;`, ` `);<br />
	&#8211; replacing  with space &#8211; I don`t need to count these ones<br />
	set @stingWithHTML = replace(@stingWithHTML, &#8220;, ` `);</p>
<p>	declare @start int, @end int;<br />
	set @start = charindex(&#8220;, @stingWithHTML);</p>
<p>	&#8211; by now should already have the text with almost clean html tags and need to exctract content between those<br />
	while (@start &gt; 0 and @end &gt; 0)<br />
	begin<br />
		set @stingWithHTML = stuff(@stingWithHTML, @start, @end &#8211; @start + 1, &#8220;);<br />
		set @start = charindex(&#8220;, @stingWithHTML);<br />
	end;</p>
<p>	&#8211; removing front/trailing spaces if any<br />
	set @stingWithHTML = ltrim(rtrim(@stingWithHTML));</p>
<p>	/* replacing these entities just now in order not to strip those during text extraction */<br />
	&#8211; replacing &lt; with &lt;<br />
	set @stingWithHTML = replace(@stingWithHTML, `&lt;`, `<br />
	set @stingWithHTML = replace(@stingWithHTML, `&gt;`, `&gt;`);</p>
<p>	RETURN @stingWithHTML;<br />
END<br />
go</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45881</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Thu, 22 Jan 2009 07:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45881</guid>
		<description>Hi Dave,

Thanks for nice example. I&#039;ve also as a Lazy Coder wanted just a little bit more from the function. Looking into his code - seems he&#039;s got small mistake - replacing &lt; and &gt; before actually stripping the HTML tags out will result in a different result then it could actually be, i.e.:
&#039;Check out the content:   And here should be the end&#039;
and
&#039;Check out the content:   And here should be the end&#039;

Here is my version - a bit modified, but does same functionality:

CREATE FUNCTION [dbo].[uf_strip_html] (
	@stringWithHTML varchar(max)
) RETURNS varchar(max)
AS
BEGIN
	/* first part is to replace HTML entities with appropriate (for my needs) characters */
	-- replacing &amp; with &amp;
	set @stringWithHTML = replace(@stringWithHTML, &#039;&amp;&#039;, &#039;&amp;&#039;);
	-- replacing &#160; with space
	set @stringWithHTML = replace(@stringWithHTML, &#039;&#160;&#039;, &#039; &#039;);
	-- replacing  with space - I don&#039;t need to count these ones
	set @stringWithHTML = replace(@stringWithHTML, &#039;&#039;, &#039; &#039;);
	
	declare @start int, @end int;
	set @start = charindex(&#039;&#039;, @stringWithHTML);

	-- by now should already have the text with almost clean html tags and need to exctract content between those
	while (@start &gt; 0 and @end &gt; 0)
	begin
		set @stringWithHTML = stuff(@stringWithHTML, @start, @end - @start + 1, &#039;&#039;);
		set @start = charindex(&#039;&#039;, @stringWithHTML);
	end;
	
	-- removing front/trailing spaces if any
	set @stringWithHTML = ltrim(rtrim(@stringWithHTML));

	/* replacing these entities just now in order not to strip those during text extraction */
	-- replacing &lt; with &lt;
	set @stringWithHTML = replace(@stringWithHTML, &#039;&lt;&#039;, &#039;
	set @stringWithHTML = replace(@stringWithHTML, &#039;&gt;&#039;, &#039;&gt;&#039;);

	RETURN @stringWithHTML;
END

Thanks again,
Vlad</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>Thanks for nice example. I&#8217;ve also as a Lazy Coder wanted just a little bit more from the function. Looking into his code &#8211; seems he&#8217;s got small mistake &#8211; replacing &lt; and &gt; before actually stripping the HTML tags out will result in a different result then it could actually be, i.e.:<br />
&#8216;Check out the content:   And here should be the end&#8217;<br />
and<br />
&#8216;Check out the content:   And here should be the end&#8217;</p>
<p>Here is my version &#8211; a bit modified, but does same functionality:</p>
<p>CREATE FUNCTION [dbo].[uf_strip_html] (<br />
	@stringWithHTML varchar(max)<br />
) RETURNS varchar(max)<br />
AS<br />
BEGIN<br />
	/* first part is to replace HTML entities with appropriate (for my needs) characters */<br />
	&#8211; replacing &amp; with &amp;<br />
	set @stringWithHTML = replace(@stringWithHTML, &#8216;&amp;&#8217;, &#8216;&amp;&#8217;);<br />
	&#8211; replacing &nbsp; with space<br />
	set @stringWithHTML = replace(@stringWithHTML, &#8216;&nbsp;&#8217;, &#8216; &#8216;);<br />
	&#8211; replacing  with space &#8211; I don&#8217;t need to count these ones<br />
	set @stringWithHTML = replace(@stringWithHTML, &#8221;, &#8216; &#8216;);</p>
<p>	declare @start int, @end int;<br />
	set @start = charindex(&#8221;, @stringWithHTML);</p>
<p>	&#8211; by now should already have the text with almost clean html tags and need to exctract content between those<br />
	while (@start &gt; 0 and @end &gt; 0)<br />
	begin<br />
		set @stringWithHTML = stuff(@stringWithHTML, @start, @end &#8211; @start + 1, &#8221;);<br />
		set @start = charindex(&#8221;, @stringWithHTML);<br />
	end;</p>
<p>	&#8211; removing front/trailing spaces if any<br />
	set @stringWithHTML = ltrim(rtrim(@stringWithHTML));</p>
<p>	/* replacing these entities just now in order not to strip those during text extraction */<br />
	&#8211; replacing &lt; with &lt;<br />
	set @stringWithHTML = replace(@stringWithHTML, &#8216;&lt;&#8217;, &#8216;<br />
	set @stringWithHTML = replace(@stringWithHTML, &#8216;&gt;&#8217;, &#8216;&gt;&#8217;);</p>
<p>	RETURN @stringWithHTML;<br />
END</p>
<p>Thanks again,<br />
Vlad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awais</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45009</link>
		<dc:creator>awais</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-45009</guid>
		<description>Fantastic!!!I wish I could be your student..</description>
		<content:encoded><![CDATA[<p>Fantastic!!!I wish I could be your student..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-38782</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Sat, 24 May 2008 19:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-38782</guid>
		<description>Hi,

How can I use this procedure to insert multiple html files in my existing table column.

Regards
Bobby</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How can I use this procedure to insert multiple html files in my existing table column.</p>
<p>Regards<br />
Bobby</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-33971</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Tue, 26 Feb 2008 09:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-33971</guid>
		<description>Hi,

I wish to return a table.

how do i go about it ??</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I wish to return a table.</p>
<p>how do i go about it ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saroj</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-32207</link>
		<dc:creator>Saroj</dc:creator>
		<pubDate>Fri, 11 Jan 2008 05:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-32207</guid>
		<description>Hi,

I wanted to know, if I&#039;m inserting this record from this 

control, how thw spaces are getting also inserted.


Regards,
SAROJ</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I wanted to know, if I&#8217;m inserting this record from this </p>
<p>control, how thw spaces are getting also inserted.</p>
<p>Regards,<br />
SAROJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4634</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Wed, 11 Jul 2007 15:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4634</guid>
		<description>I tried the modifyed code from Lazy coder&#039;s site and the result shows the CHAR(13) + CHAR(10) in the data instead of a BR.. any way to change that?</description>
		<content:encoded><![CDATA[<p>I tried the modifyed code from Lazy coder&#8217;s site and the result shows the CHAR(13) + CHAR(10) in the data instead of a BR.. any way to change that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4633</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Wed, 11 Jul 2007 15:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4633</guid>
		<description>Hi Tim,

It does not allow those chars yet. It removes everything between &quot;greater than&quot; and &quot;lesser than&quot; sign.

Regards,
Pinal Dave (SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>It does not allow those chars yet. It removes everything between &#8220;greater than&#8221; and &#8220;lesser than&#8221; sign.</p>
<p>Regards,<br />
Pinal Dave (SQLAuthority.com)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4632</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Wed, 11 Jul 2007 15:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4632</guid>
		<description>Does this code allow for HTML characters like the non-breaking space? &amp;nbsp and/or other HTML encoded characters ?

Thanks
Tim</description>
		<content:encoded><![CDATA[<p>Does this code allow for HTML characters like the non-breaking space? &amp;nbsp and/or other HTML encoded characters ?</p>
<p>Thanks<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4111</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Thu, 28 Jun 2007 16:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-4111</guid>
		<description>Hello All,

Lazy Coder has improved code :
&lt;a href=&quot;http://lazycoders.blogspot.com/2007/06/stripping-html-from-text-in-sql-server.html&quot; rel=&quot;nofollow&quot;&gt;Stripping HTML from text in SQL Server 2005&lt;/a&gt;
Use either of the version according to your need.

Regards,
Pinal Dave (SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>Hello All,</p>
<p>Lazy Coder has improved code :<br />
<a href="http://lazycoders.blogspot.com/2007/06/stripping-html-from-text-in-sql-server.html" rel="nofollow">Stripping HTML from text in SQL Server 2005</a><br />
Use either of the version according to your need.</p>
<p>Regards,<br />
Pinal Dave (SQLAuthority.com)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashley</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-3876</link>
		<dc:creator>ashley</dc:creator>
		<pubDate>Thu, 21 Jun 2007 17:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-3876</guid>
		<description>oops you are using sql server 2000 and he is using 2005
so you cannot use varchar(max) which is only for 2005.

Replace varchar(max) with varchar(8000) and you will get rid of errors.

sometimes the &#039; marks are not copied properly thats what I thought initially. please who post these articles should point out for which version this is compatible with.</description>
		<content:encoded><![CDATA[<p>oops you are using sql server 2000 and he is using 2005<br />
so you cannot use varchar(max) which is only for 2005.</p>
<p>Replace varchar(max) with varchar(8000) and you will get rid of errors.</p>
<p>sometimes the &#8216; marks are not copied properly thats what I thought initially. please who post these articles should point out for which version this is compatible with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashley</title>
		<link>http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-3875</link>
		<dc:creator>ashley</dc:creator>
		<pubDate>Thu, 21 Jun 2007 17:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/#comment-3875</guid>
		<description>Wilson Gunanithi . J
 you are getting an error coz of copy paste

you need to replace the &#039; in your text when you copy paste.</description>
		<content:encoded><![CDATA[<p>Wilson Gunanithi . J<br />
 you are getting an error coz of copy paste</p>
<p>you need to replace the &#8216; in your text when you copy paste.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
