How to count words in T-SQL excluding HTML tags -
given table 1 column contains html, how can word count each row, excluding html tags? want count how many words rendered in browser.
using sql server 2008 r2.
you adapt this sql function parse delimited strings split string spaces, , count words way. approximate, if need more accurate count easier using .net, parsing page , getting word counts within html nodes.
html sql sql-server tsql
No comments:
Post a Comment