regexp_replace with all characters from the keyboard

Hello

Using Oracle 11 g 2. I am developing an expression that replaces all characters not found on the keyboard number 2. However, the expression that I developed does not manage all characters. When testing it, some characters are replaced with success, while others are not. For example, if I remove the () in the list of regexp_replace, I should wait for the result of the query to display 22, but it doesn't. Similar results, that's happened to the other characters. Here's my query. Any suggestion would be appreciated.

Select

regexp_replace (' $# () / *. %, cm & -~': +! @^ _ = |------;) "<>? / [] {} ', ' [^ A-Za-z0-9$#() / * %., cm &-~': + ! @^ _ = | \ ; "<>? ([/ {} []]', '2') as test

of the double

-in a class character between character indicates a range, so & -~ does, including (and).

[[Using characters such as] and - in a characterclass, they must be placed in dedicated positions] during the first and the last (or the first if that is not used for another).

Take a look at the documentation on this issue.

Consider

Select

regexp_replace (' $# () / * %., "& -~': +! @^ _ = |------;) » <>?/[]{}', '[^!-~]', '2') as test1

regexp_replace (' $# () / * %., "& -~': +! @^ _ = |------;) » <>?/[]{}', '[^!-''*-~]', '2') as test2

of the double

TEST1 TEST2
$#()/*%.,'&-~`:+!@^_=|\;" <>?/[]{} $#22/*%.,'&-~`:+!@^_=|\;" <>?/[]{}

! ~ - should probably give you the desired range.

In the second example [^!-"*-~], the () are excluded by splitting the beach to their posts.

Tags: Database

Similar Questions

  • How to compose utf-8 characters from the keyboard (osx 10.11.4)?

    Hello

    In any other non-named operating system, you can press ALT-E28099 enter a utf character.

    I've seen instructions on how to do this in an earlier version of Mac OS x, but these instructions do not work.

    They tell me in system preferences | Language and text-> then a way to select UTF, but this possibility is therefore more in the new language and region settings.

    When I go to my little flag in the menu box above right, I am not shown UTF - 8 as a possibility.

    Help!

    Thank you!!!

    OS X does not use utf - 8 for entry.  Normally, you would use the character Viewer (Edit > Emoji and symbols) for the input characters that are not already included in the layout of the keyboard via the option and option more shift.  It has an option to display all Unicode characters.

    If you really want to enter special characters through numbers, you can go to the sources of the system/preferences/keyboard and activate the Unicode Hex keyboard configuration.  You can integrate any character by holding down the option key and typing sound 4-digit (or 8 digits for those outside the BMP) hexadecimal Unicode number.  e28099 is 2019 in hexadecimal.  It's the curly apostrophe which can also be made directly from the US keyboard via the shift option]

  • My iPad 9.7 Pro don't pop up characters from the keyboard, why?

    the problem is that when I type a letter on the keyboard there is no animation, make the shadow of the letter.

    so, I wanted to know if it's a bug or a feature of the iPad Pro because it is shade in two air. Help, please

    After several tests including that if reset you the settings, this will no longer happen so if someone has this problem just reset settings

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

  • No response from the keyboard on Equium M40X

    Hi all

    Posted before on this problem, just mounted a new keyboard, but getting no response from it, the luminous numbers lock is on, but nothing works, it is a new keyboard, my old one was doing the same thing, reinstalled the system using a usb keyboard but still the same, no response from the keyboard, any ideas?

    Hello

    Connect the flat keyboard cable properly to the motherboard?
    Make sure that the keyboard cable is firmly connected to the system board.
    If the internal keyboard has been correctly connected, so I think there must be something wrong on the motherboard.

    I think detailed diagnosis can be done by a technician with experience much more as a common user like you and me.

  • Cannot read Document in FileUtilities to search a file with french characters in the file name

    Hello

    I'm looking for a file with french characters in the filename as"ecran.doc" in my unix Server directory and write the file somewhere, say, in a list of documents, or write to files to another directory.

    I use to read Document in FileUtilities of the Foundation, but it cannot read the file due to the french character in its name. Although it can find another name of file without these french characters.

    I tried to rename but who also can not find the file with the name of the french character.

    Please provide any idea to solve using LC operation.

    Kind regards

    Raj of Rohan.

    Hi Thomas,

    Thanks for the post, but I already found a solution to this a month ago. Sorry for not posting the solution.

    Just put the '-Djava.property.file.encoding = ISO8859-1' in your server startup JVM argument and position the rebound on the back of the server to choose the new JVM arg . And now the reading service of Document in FileUtilities of the Foundation read characters all french.

    ISO8859-1refers 'no. 1 Latin alphabet,"consisting of 191 characters from the Latin alphabet. This character encoding scheme is used throughout the Americas, Western Europe, Oceania, and much of Africa. It is also commonly used in most of the Etymologies of the East Asian languages.

    Kind regards

    Raj of Rohan.

  • HP Pavilion x 2: computer hp laptop pavilion x 2 works only when the Tablet is removed from the keyboard

    Hello

    My 3 year old hp pavilion x 2 removable 2 in 1 touch screen works only if detached from the keyboard.  It has been for the last couple momths stop without warning whenever it was moved slightly while attached to the keyboard. Now it doesn't work at all and stops as soon as I connect it to the keyboard. Everything else works fine. Any help is appreciated. Thank you.

    Pat

    Hello @pmm25,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums, I would like to draw your attention to the HP Forums Guide first time here? Learn how to publish and more.

    I read your post about the problem of keyboard and wanted to help you!

    Given that the question seems to be hardware related, you can consider contacting the HP support by phone for additional options.  Please use the following http://www.hp.com/contacthp and create a folder for your question and contact HP. If you do not live in the United States / Canada, please click on the link below to get contact information for your region.
    http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution', this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Have a great day!

  • How use Bridge to rename the batch to remove all characters after the 32nd character?

    I would like to batch rename to remove all characters after the 32nd character. Is this possible?

    Substitution string use with use of regular expressions is selected.

    In the use of the search field

    ^(.{32})(.*)
    

    In the field using replace

    $1
    
  • I have Adobe Acrobat Pro XI.  I went to special characters from the Edit menu and choose some emoji as Favorites, but I can't understand how to insert in the document.  How can I insert special characters into a document?

    How can I insert emoji or other special characters in a document using Adobe Acrobat Pro XI?  I went to special characters from the Edit menu and may not understand how to insert the special character in the document.

    He's not that kind of editor. You can use the characters in a font. If you can select a font with the emoji, which fits into the case, and then enter the characters, it can work.

    This suggests that you try to do TOO MUCH with a PDF file. It is a common thing, but the message should be: everything simply because you can edit a PDF file, does not mean that it is the most effective way for you to do your job.

  • All searches from the toolbar causes all of the tabs to be highlighted in firefox 8

    All searches from the toolbar (file; Edit; View; History; Bookmarks; Tools; Help) then scrolling down causes all tabs to highlighted. I did have this problem in version 3.6 since I upgraded to 7 and 8, that this problem continues to be a problem.

    Have you seen that occur when you use the default theme of Firefox?

    Also, you run Windows Blinds or any 3rd party to control Windows themes application? If so, disable this application and see if the problem goes away.

  • I've disabled all notifications from the Windows taskbar, and then disappear sound notifications

    I have disabled all notifications from the Windows taskbar, but then the sound notifications disappear. I hear no more beeps. I want only sound notifications. What gives?

    Lol apparently Skype doesn't automatically follow default windows sound output after that I changed it once. Had to change speakers return to Spdif speakers in audio settings. Thanks for the tip.

  • I want to register my phone with a chip from the Bahamas to make calls to the

    I want to register my phone with a chip from the Bahamas to make calls to the United States, but it is not an option. Is there a work around for another option? I have unlimited international calls

    Unfortunately, the SkypeToGo program is not available in the Bahamas.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Characters on the keyboard of laptop are hard to see

    The characters on the keyboard of my laptop HP G70-250US are difficult to see. The keys are of bronze and the characters are black.  My thought is that the keys should be black and white characters.  Is there a solution to this problem before the replacement of the keyboard?

    Yes, you can replace the keyboard... but first contact HP if they can do it for free...

  • How to detach the screen from the keyboard, and how do I use the touch screen without stylus?

    I have a gateway M285 ta6 t2300 clocked at 1.6 ghz dual core 1 GB 40 GB combo windows 7 tablet laptop 2-1 d. I don't have a pen for the touchscreen, but because I bought it used... I would like to know if I can use the touch screen using my fingers or do I have to buy a pen and if so what kind? Also, I would like to know how to detach the screen from the keyboard.

    Hello

    I suggest that you go to the Gateway Web site and download a manual for the model that will show you how to use it.

    Gateway:

    http://us.gateway.com/GW/en/us/content/drivers-downloads

    See you soon.

  • How to remove all information from the computer so I can sell it?

    How to remove all information from the computer so I can sell it?

    Hello

    You will want to format the hard disk:

    1. you can use DBAN - http://www.dban.org/

    or

    2. you can follow this tutorial to clean install up to the step where you format the disk, in which you would then STOP (because you just want to get rid of the files on the hard drive, do not install Windows) - http://www.sevenforums.com/tutorials/1649-clean-install-windows-7-a.html

    Kind regards

    Patrick

Maybe you are looking for

  • iTunes won't sync all my songs

    Hello I just got myself a iPhone 7 128 gb phone after having a 5 for 4 years or more. I spent Saturday setting up using iTunes, but I am now find just some of my songs do not play on my iPhone, which I think should be reduced to a problem of sync. No

  • SATA

    I have a pavilion G6-2306EL the drive controller is sata2 or sata3?

  • Error: "Signal out of range".

    Original title: monitor sensitivity while trying to adjust my screen monitor sensitivity I have increased it too far and now get a blank screen and the message... out of the range of scan... I can't use my main computer now and need help to get the s

  • upgarding xp service Pack 3

    I downloaded the Setup program for the service pack 3 from the microsoft Download Center. I wanted to know if I would lose my data if I upgrade to sp3 IE will be my computer formatted and lose all the data stored on the hard drive?

  • Vista OEM of Emachines detail record

    My client purchased Vista OEM of Emachines. It seems to be a retail version as I'm prompted to save the operating system. Originally, the OS is XP Home, but the computer is out at the time that Vista appeared on the scene. Microsoft and Emachine indi