Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to remove &nbsp

863006Nov 16 2011 — edited Nov 16 2011
Hi all, i use a function to remove html tags and it's work fine except one thing. In the result occasionally i receive
&nbsp
in addition to the result.

Function:
function remove_html_tags(p_task_memo in blob) return varchar2 is 
  
  begin 
  
  return replace(regexp_replace(utl_raw.cast_to_varchar2(p_task_memo), '<[^>]*>'), chr(13)||chr(10));
  end;
Result
удостоверение nbsp;
Expected result:
удостоверение ;
Any ideas?


Version:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
"CORE	11.1.0.7.0	Production"
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
Thanks in advance,
Bahchevanov.

Edited by: bahchevanov on Nov 16, 2011 1:58 AM

Edited by: bahchevanov on Nov 16, 2011 1:58 AM

Edited by: bahchevanov on Nov 16, 2011 1:59 AM

Edited by: bahchevanov on Nov 16, 2011 1:59 AM

Edited by: bahchevanov on Nov 16, 2011 2:00 AM
This post has been answered by 585426 on Nov 16 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 14 2011
Added on Nov 16 2011
4 comments
10,470 views