The question of REGEXP_REPLACE using

Oracle Database 10g Enterprise Edition Release 10.1.0.3.0

Hello
I have this HTML Code that I record the database
<html>
  <head>
    
  </head>
  <body>
    <b><font color="#FFFF66" size="6" face="Times New Roman">this is</font></b>
       <b><font size="6"> tes</font></b><font size="6">t, </font><font size="2">
this</font><font size="6"> is</font> a test,<b><font color="#3399FF" size="3" face="Book Antiqua">
this is a t</font>e</b>st

    <p>
      
    </p>
  </body>
</html>
I also need to save this code without HTML tags, then when I save this record in the database I am using this code
:block1.problem_format :=          (regexp_replace(:block1.problem_description, '<[^>]+>', NULL)); -- where problem description is the html code is stored
When I look at the data, the results output code above in

It comes
& # 1 6 0; & # 1 6 0; test,
It comes in & # 1 6 0; a test,
This is a test


(Sorry to not put this in the form of code, it has been stripping bits and spaces

y at - it another way for it to just strip down
  
    
  
  
    this is
        test, 
this is a test,
this is a test

    
      
    
  
Thank you for your help in advance.




It keeps stripping on the & # 1 6 0; & # 1 6 0;

Published by: DM on July 13, 2011 11:14

Hello

Entity & #160; is a nonbreaking space.
If you get it after you apply the REGEXP_REPLACE, this means that it is already there in the source.

To get rid of it, just use function REPLACE to occurrences in any other character you want.

Tags: Database

Similar Questions

  • function of viscanf() using the question

    I write a function (not a primary function) I want to create this function as a document dll, when teststand use dll and run it.

    the question is that I want to use this result to get the instrument function, but I do not confirm viscanf's right?

    ViStatus _VI_FUNC Get_Frequency (ViSession instrSession, ViPReal64 frequency, ViString freqCommand)
    {
    ViStatus status = VI_SUCCESS;

    Bruno buf [BUFFER_SIZE];
    ViInt32 retCnt;

    If (Status = viPrintf (instrSession, "freqComamnd\n")<>
    Return MT8820B_status;
    If (Status = viPrintf(instrSession,"*OPC?\n")<>
    Return MT8820B_status;
    If (viScanf = (instrSession, "% f", & frequency))<>
    return the situation

    Return MT8820B_status;

    }

    I use viscanf() like that, right? Thank you

    You must use a pointer to ViReal64 inside your Get_Frequency () function to make use as output parameter.   When you call Get_Frequency(), you can use the & operator there often being a ViReal64 (not a ViInt32):

    Get_Frequency (instrSession, & frequency, freqCommand)

  • When the computer starts first to the top, a window titled "run as" the question "which user account do you want to use to run this program?

    Original title: which user account you want to use to run this program?

    I use a computer that is running Windows XP SP3. Recently, when the computer starts first to the top, a window will appear titled ' run as ' the question "which user account do you want to use to run this program?" with two radio buttons. The default selection is "Current user" and there is a checkbox to "protect my computer and data from unauthorized program activity. The other button is for "the next user. I have to click 'OK' before you can run any programs.

    There is only one user on the computer. Why has this window began to appear and can I get rid of him?

    Hello

    That you recently installed which triggers this popup message initially upwards?

    You can try to perform a clean boot and check if it helps.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    How to configure Windows XP to start in a "clean boot" State

    Note: Make sure that you put the computer to a Normal startup once you have completed troubleshooting.

  • I have a microsoft wireless keyboard4000 when I try to use the question mark I get / can you tell me what the problem with it I was getting with a line above.

    I have a microsoft wireless 4000 keyboard when I try to use the question mark I get / can you tell me how to fix

    or what is the problem, I received an e with a line above.

    Hello

    1. what was your keyboard last working fine?
    2. you remember to make changes on your computer recently?
    Try the steps and mark for the question below.
    a. click the Start button, type region and language and press ENTER.
    b. click the keyboards and languages tab.
    c. click Change keyboards.
    d. in the pop-up window, click Legeneralonglet.
    e. under default input language, select English (United States) - US or any another language you use generally.
    f. click on the OK button.
    g. click OK button region and language.
    I hope this helps.

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • When you use the question mark, appears like a capital E with accent French and cannot use the quotes.

    Original title: I can't use my question mark (rises like a capital E with accent French and cannot use the quotes)

    I'm having a problem from time to time with my ability to use marks quotaion, brands etc. How can I treat it DEFINITIVELY the question.

    Thank you

    Hi golfnut11,

    1. you are using a laptop?

    2. you remember to make changes to the computer priro to this question?

    Step 1:

    If you use a laptop, check if the FN key is enabled. If so, then try to turn it off and check.

    Step 2:

    You can also try to check the keyboard on the screen and if the problem occurs or not.

    Check out the link:

    Type without using the keyboard (on-screen keyboard)

    http://Windows.Microsoft.com/en-us/Windows7/type-without-using-the-keyboard-on-screen-keyboard

    If you use a Microsoft keyboard, you can also consult the following article:

    Troubleshoot wired keyboards that do not or only the erroneous characters category
    http://support.Microsoft.com/kb/258826

    Hope this information is useful.

  • Facing the question Entity framework with Oracle 11 g using MVC 4 connecting

    Hello

    I am trying to connect to Oracle through Entity Framework data.

    I created two projects

    ((1) one for the project Web MVC4 access data) 2.

    It works fine if I am trying to connect using the console Application and App.config, but facing the question trying to connect using we.config and the web application.

    I added using Nuget packages in data access project.

    I made reference to this dll aaccess of data in the web project and try to call the oracle connection.

    Package.config:

    < Package >

    < package id = "EF" version = "6.0.2" targetFramework = "net45" / >

    < package id = "odp.net.x64" version = "112.3.20" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess" version = "12.1.021" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess.EntityFramework" version = "12.1.021" targetFramework = "net45" / > "

    < / packages >

    Web.Config:

    < configuration >

    < configSections >

    <!-for more information on the configuration of the Entity Framework, visit http://go.Microsoft.com/fwlink/?LinkId=237468 ->

    < section name = "EF".

    type = 'System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'

    requirePermission = "false" / >

    "< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    < / configSections >

    < connectionStrings >

    < clear / >

    < name = "OracleDbContext" providerName = "Oracle.ManagedDataAccess.Client"

    connectionString ="Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = host address)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = oracle))); User = username ID; Password = pwd; "/ >

    < / connectionStrings >

    < Entity Framework >

    <!-< defaultConnectionFactory type = "System.Data.Entity.Infrastructure.SqlConnectionFactory, Entity Framework" / >-->

    < defaultConnectionFactory type = "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" > "

    < / defaultConnectionFactory >

    <>providers

    < invariantName = "Oracle.ManagedDataAccess.Client provider"

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / >

    < invariantName = "System.Data.SqlClient provider" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" / > "

    < / providers >

    < / Entity Framework >

    < system.data >

    < DbProviderFactories >

    < remove invariant = "Oracle.ManagedDataAccess.Client" / > "

    "< add name =" ODP.NET, successful pilot"invariant =" Oracle.ManagedDataAccess.Client "description ="Oracle Data Provider for.NET, successful pilot"type =" Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"/ >"

    < / DbProviderFactories >

    < system.data >

    < runtime >

    < assemblyBinding xmlns = "urn: schemas-microsoft-com: ASM.v1" >

    < dependentAssembly >

    < publisherPolicy apply = "no" / >

    < name = "Oracle.ManagedDataAccess assemblyIdentity" publicKeyToken = "89b483f429c47342" culture = "neutral" / > "

    < / dependentAssembly >

    < / assemblyBinding >

    < / SPAN >

    < oracle.manageddataaccess.client >

    < version number = "*" >

    < dataSources >

    < alias dataSource = "OracleDbContext" descriptor = "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=hostname) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = oracle)));" User = username ID; Password = pwd; "/ >

    < / dataSources >

    < / version >

    < /oracle.manageddataaccess.client >

    < / configuration >

    I am facing the sub question:

    Provider of the type EF ' Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "in the application for the vendor configuration file ADO.NET with invariant name 'Oracle.ManagedDataAccess.Client' could not be loaded." Make sure that the qualified assembly name is used and that the assembly is available in the currently running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

    Hello

    I tried with what follows and it started working.

    I just pointed out that line of defaultConnectionFactory in the web.config file

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

    .

  • Difficulty to tear the question with all adobe products using mercury pass?

    Hello.

    I am running the latest version of the Adobe Suite CC (applications are up to date). My computer is an AMD FX 8150 with 390 R9 graphics (whose driver is also up-to-date) running newer versions of Windows 10 retail. The question that I have is a kind of 'tearing' effects on all monitors using mercury pass, any, I choose rather made hardware or software. "Tear", as long as I can describe it appear in all the images loaded in all adobe, same programs still images that are exhausted after through. It's almost like my graphics card seeks to restore the 1/4 of the screen horizontally at different times, and this translates into 4 or 5 "break points" along the sequence of the preview. This is not bad, until you have a shot that makes a horizontal pan, then it's like 4 or 5 different 'zones' of the screen trying to return at different times... Given that it is clearly not a problem with the original files (how could it be?), and it does not appear when the sequence is rendered, what it might be? There must be a problem purely with mercury pass, given that the tear does NOT appear on the workspace to preview the video in the any adobe applications... Appearing rather than on the monitors that are designated as "external" using mercury emissions. My images of viewport seems perfectly functional and free ' tear'.

    I don't see it to be a rate issue, because it is, it does not matter what film is loaded in... Even a still image with a pan of the camera it will show after effects.

    So to summarize, there seems to be a problem with mercury pass that I can't solve. No matter what I do, the tear will not disappear when you view the images on a monitor 'external', which has been designated as such in the preferences "previews". All the drivers and software are updated, and it does little matter images by selecting the software hardware rendering vs makes no difference either.

    Does anyone know of a solution to this? Someone else has the same problem? It's very annoying and almost enough to make me want to give up using Adobe products all together, it's that bad.

    My main graphics card is the I/O device.

    Ahhh.  This is probably the question on this one.  You must run a dedicated unit of I/O for companies like AJA or Blackmagic.

  • With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions

    With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions?

    Hello

    Please make sure that you work in 8 bits/channel and RGB mode. (Under Image > Mode > Select RGB and 8-bit per channel) lightning effects only works in this mode.

    Also in preferences > Performance > "Use Graphics Processor" must be checked.

    ~ Assani

  • I plan to change the plan of creative photography of cloud. I currently use 5.7 LR with photoshop elements as my level of pixel Editor.  The question I have is if with the plan CC I can choose to download photoshop CC only for now. I'd do it

    I plan to change the plan of creative photography of cloud. I currently use 5.7 LR with photoshop elements as my level of pixel Editor.  The question I have is if with the plan CC I can choose to download photoshop CC only for now. I prefer wait to download LR CC if possible, but didn't know if I could download one without the other. Thanks for your time.

    Hello

    Yes, you could download Photoshop cc only as well.

    Concerning

    Gilles marneffe

  • Whenever I use Adobe Creative Cloud, I have the same question; do you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the designer c.

    See the previous question.

    Please follow every time I use Adobe Creative Cloud, I have the same question, you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the creative c

    Double Post

  • Address the content slide; back to the question; then continue on--using Captivate 8

    Using Captivate 8, I'm trying to fix a question slide to a slide content, then back to the issue of KC to check for retry and then continue from there.  On my trial, it works very well.  However, the problems began on the second instance and continue on each instance, subsequently. Settings on the issue of KC slides are all the same except that drag each jumps for sanitation.  I don't understand why it works the first time, but does not work after that. On the second instance, the issue returns to the content slide, but then passes any subsequent slide.   Someone at - he had a similar experience?  Know of a workaround or solution could I hurt?

    FYI, I have he delivers E-Learning discovered Adobe Captivate 8 Elkins, Pinder and Slade uses as a reference, and it describes clearly how to page 183, "sanitation back to content slides - if student gets a question wrong, you can branch to one or several slides, where the content has been taught and then return them to the quiz to try the question again.»  To add connections to sanitation: 1) in the last field of attempt on the issue, put a jump from slide to slide first with content.  (2) on the last slide with the content, add a return to the Quiz competition on the next slide button.  On slide content, the button next, with the return to competition of Quiz performs an action continues in normal circumstances, but returns for the quiz students if it is from whence they came. »

    Please see the map content below:

    Content
    Mapping:

    Slide 1-content

    Slide 2 - content

    Slide 3 - content

    Slide 4 - content

    Slide 5 - content

    Slide 6 - content

    Slide 7 - content

    Slide 8-content

    Slide 9 - Question to check knowledge - converts back to slide 5 If the user forgets two attempts to answer; slide 5 returns the user to slide 9 for one last try in question, then move on to slide 10 (works perfectly)

    Slide 11 - content (Here's the first problem; on click, slide 11 jumps to the Question to check knowledge on slide 13, jumping slide 12)

    Slide 12 - content

    Slide 13 - Question to check knowledge that converts the back to slide 11 if the user forgets about 2 attempts to answer. slide 11 should return user here for one last try in question, then switch to Slide 14

    Slide14 - content

    Slide 15 - content (Here's the second problem; on click, slide 15 jumps to the Question to check knowledge on slide 19, jumping sliding 16, 17 and 18)

    Slide 16 - content

    Slide 17 - content

    Slide 18 - content

    Erik, sanitation is integrated since version 6. The next button can have a double feature: coming from a normal slide acts as then, when they come from a question slide she come back on this question with the mentioned order slide.  It's been a while since I tested this out, but it worked. I don't know what's not in your project.

  • Using variables to get the answers to the questions of fill-in-the-White

    Hello

    Fill-in-the-blank questions, to provide answers. I want to provide these in the form of variables (user-created), rather than in the form of fixed strings (so, as $$ var1$ $ and not as 'Rabbit'). I could not get this to work. The variable input function is available (in the properties panel), but it does not in fact (i.e. even if you select a variable to be entered, it is not actually automatically registered).

    Is there a way around the problem?

    1. NB containing the same question for text entry boxes (rather than fill-in-the-blank questions). If I could get this works for text entry boxes, I'd use questions these rather than fill-in-the-white.

    2. a peut use variables for the answers to the multiple-choice questions. So I hope I can make it work for fill-in-the-blank questions as well.

    Thank you in advance. Marvin DuBois

    That would be my suggestion. I don't have a blog, but using BER of for this kind of questions me as well. And unlike the widget/interaction, that I've mentioned before, BER is an interactive object, which means it can be validated and that there may be a score attached to it. But, it will not help you, since you have to add the correct answers in the same way as for a drop-down list in the issue of the FIB (they are the sorts of TEB). And it is this list that does not enter a variable rather than a fixed sequence of characters.

    This means that you are into stocks advanced, identical to that of my blog posts with the widget/interaction.

    Have a work around (after all I'm the work around Queen) having intercourse, if you don't check that BER, described here:

    http://blog.lilybiri.com/report-custom-questions-part-2

    The idea is to use another interactive object that can have a score. Actually, I use two instances of the same object: a score of 0 and one with score of X and show the right according to the conditional action.

    However if you want to have multiple TEB on the same blade, which must be verified with the same tip action, you will need either the mastery of InfoSemantics (only for output SWF) widget or Javascript.

    Lilybiri

  • Is it possible to use advanced actions to set the value of the question?

    Hi - I am trying to develop a course of Captivate 4 and wish I could on slide enter advanced use of actions to check the value of a user variable, and if the variable is equal to x then set the value of the question (correct) 1. Is there a system variable, that I can use to define?

    This course is to download a package to an LMS (Moodle) SCORM.

    Ideas/suggestions would be greatly appreciated.

    Unfortunately, Captivate is not currently a way to manipulate SCORM score via advanced Actions and the user or System Variables.

    So that you could have OnSlideEnter check and set the value of a variable, you don't have a way to use this information to force sending a question slide.

  • When using Facebook in Firefox (does not happen with IE), any time I click to see the previous comments to a post or to play a video of inbedded, the question appears asking "are you sure you want to exit this page. Any ideas?

    The problem only occurs with Firefox. Answer 'Yes' to the question box is that open Facebook in another tab where the problem persists.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

  • Satellite 2410: Question about the different ways to use BlueTooth

    Hello

    I can't find a place to buy a bluetooth module for my Toshiba Satellite 2410 - the manual says I can, and I know that there is space on the underside of the laptop to insert it.

    I can't seem to find one to buy - anyone know if they actually exist, because I'm starting to think not? ! .. .where is the best way to bluetooth enable laptop to buy a USB adapter?
    If so, a good market will affect the download speed when using the Internet? And what is the difference between an SD card and a USB bluetooth adapter?

    Any help would be appreciated.

    Hello

    I don't know your name of your Satellite 2410 but I found that a similar Satellite 2410 603 on the Bluetooth device is not available. Only the WiFi card is optional. This means that it is possible to install a wireless network card. The slot for the update of the Wlan card you will find at the bottom of the unit AND NOT the Bluetooth slot.

    However, if you want to use BT technology so the easiest and cheapest way is to buy the USB Bluetooth key.

    PS: BT has nothing to do with the internet, and it has no negative influence on the data downloading or transmission of data from the internet.

Maybe you are looking for