Find special characters

Hello
I have a table which has got a customer detail field have only numbers and the alpahbets is to say a to z, A to Z, 0 to 9. However, due to the fault of typing, there are some special characters entered in this field.
How can I find all the lines with special character in this area. y at - it a function or an easy way to do it. I use the version of oracle 10g.

Thanks for your help.

Rgds,
Sharan.

user REGEXP_LIKE

select * from  where regexp_like(, '[^[[:alnum:]]]*')

Tags: Database

Similar Questions

  • Find special characters in the name of the Image

    Hi all

    Request:

    1. the need to find special characters or unwanted characters in the name of links (Figure$ .eps, abcd? cde.jpeg etc.)

    2. the name links allows only [a - z] or [A - Z] or [0-9]

    3. name links does not allow special characters such as (i.e.,?,!, @, $ etc...)

    4. white space not allowed

    Very urgent request...

    Try the Code is:

    var myLinks = app.documents[0].links.everyItem().getElements();
    alert(myLinks.length)
    
    for(i=0; i<myLinks.length; i++)
    {
        var mySplit = myLinks[i].name.split(".");
        var myFinal = mySplit[0];
        
        for(k=0; k<myFinal.length; k++)
        {
            if(String(myFinal[k]).match(/[a-z]/g) !=null || String(myFinal[k]).match(/[A-Z]/g) !=null || String(myFinal[k]).match(/[0-9]/) !=null )
            {
                alert(myFinal);
                break;
                }
            
            }
        }
    

    Thanks in advance

    Siraj

    Hi Siraj

    Try this out

    var myLinks = app.documents[0].links.everyItem().getElements(),
        badCharReg = /[^A-z0-9]/g,
        l = myLinks.length,
        badLinks = [],
        linkName = "";
    while (l--) {
        linkName = myLinks[l].name.split(".")[0];
        if (badCharReg.test(linkName)) badLinks.push(linkName);
    }
    if (badLinks.length) alert("Check out these\n"+badLinks.join("\n"));
    else alert("Have a nice day");
    

    Trevor

  • How to find special characters in a single query

    Dear Experts,

    Your usual help is needed to resolve the query. My query is ' how to find all special characters such as (% $* & @, ' / +-etc. in a single query?).
    Thank you.

    for example


    A_MIR
    A % SIM
    A * SIM
    SIM HAS)

    Hello

    This can work:

    select * from your_table where replace(translate(your_column,' abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890','x'),'x','') is not null
    

    Above code verifies an ascii and numbers. You can adjust the chain with other characters you want to see (exclude)

    Herald tiomela
    http://htendam.WordPress.com

  • How to find special characters in a string of give/sentance

    Hi all

    I have a task to complete with the time to give. Because I'm not very good in PL/SQL, I need you're help.
    Condition is:

    I must come with the SQL or PL/SQL code which should return and find the hidden or special character in the name of the data files in a database. There are nearly 400 + database are present in almost any flavor of UNIX, and I need to check the database each.

    As you know, the name of the data file will be like this:
     /u02/instance_name\oradata\datafile_01.dbf 
    So, it should avoid these things and only discover the special characters in the name of the data file.
     
    a-z , A-Z , 0-9 and \ 
    Please keep in mind that... I'll be pulled the script Oracle the Oracle 9i client that will access all the databases of Oracle 9i to 11g in a short and give me the result.

    Please help me to solve this problem and let me know if you need more information.

    Hello

    Mukesh says:
    Hi Frank,.

    It is an excellent service. Thanks for you response.
    I want to change the query that... I should get only the name of these data files that are special characters of detention. I don't know how to put it in that condition. :(

    Here's one way:

    SELECT  file_name
    ,       ...     -- other expressions, if you want any
    FROM    dba_data_files
    WHERE   TRANSLATE ( file_name
                      , '?0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZ\_/abcdefghijklmnopqrstuvwxyz'
                      , '?'
                      ) IS NOT NULL
    

    Among other expressions, you can put in the SELECT clause (if you wish) is a copy of the TRANSLATE function, you had in your message. That would underline exactly what characters rendering invalid file name.

  • Find special characters in a string

    Hi all, I am using Oracle 10 g.

    I have a column name with special characters. How can I replace the special characters in the column with space and no space based on the special character. Please see the example below. can I use REGEXP_REPLACE?

    create table
    create table sample_test (
      Name    VARCHAR2(20 BYTE))
    Insert a table
     insert into sample_test values ('O''NEIL')
         insert into sample_test values ('B.E.VICTOR')
          insert into sample_test values ('WILLIAM,L')
           insert into sample_test values ('MARY-ANNE')
               insert into sample_test values ('VON_ANCKEN')
                insert into sample_test values ('BROWN;L')
    I would like the following output
     
    Special Character         Name         Expected Name                  Remarks      
     
    Single Quotes            O'NEIL                  ONEIL                          Remove quotes and no space        
    Dot                      B.E.VICTOR         B E VICTOR                          Replace with space        
    Comma                      WILLIAM,L         WILLIAM L                          Replace with space        
    Hyphen                      MARY-ANNE         MARY ANNE                          Replace with space        
    Underscore                VON_ANCKEN         VON ANCKEN                          Replace with space        
    Semi Colon              BROWN;L          BROWN L                          Replace with space      
    Please notify.

    Thank you
    Bob

    A simple solution without the use of regexp:

    -- Test Data
    with sample_test as
    (
    select 'O''NEIL' name from dual union all
    select 'B.E.VICTOR'  name from dual union all
    select'WILLIAM,L' name from dual union all
    select'MARY-ANNE' name from dual union all
    select'VON_ANCKEN' name from dual union all
    select'BROWN;L' name from dual
    )
    -- Query:
    select name old_name,
           translate(replace(name,'''',''),'.,-_;','     ') new_name
    from sample_test;
    

    Explanation:

    REPLACE deletes the quote
    TRANSLATE replaces point, comma, dash, semicolon and underscore

  • Where to find and install special characters in Firefox?

    Where to find and install special characters sets (French, German and Spanish) in my Firefox with Dutch language?
    TIA
    Joep

    Translation:

    TOOLS = > Options = > content = > languages = > click "Select" and then "select a language to add."

    For the character encoding:

    TOOLS = > Options = > content = > fonts and colors = > advanced (button) = > character encoding

  • Where can I find the window that lets me select special characters as a vowel with an accent or a tilde above it?  Using indesign cs4

    I try to put a few Spanish words in a document and must be able to select vowels with accents or we the n with a tilde over it.  Where can I find this window that lets me select these special characters?

    You can use the glyphs Panel.

  • Regexp: Find consecutive special characters

    Hello

    I need to check the names according to the strict rules and most of them that I could solve by using regular expressions. Now there's one that I can't solve with a single expression:

    "Several identical characters must not be consecutive.

    Special characters would be considered as any character with an accent like e or aouss.
    This means that 'Global' is allowed because SSA are two different special characters but not "Kaamann".

    Concerning
    Marcus

    You can use a backreference make to match more than one occurrence of the same character...

    with t as (
    select 'Käßmann' as x from dual union all
    select 'Käämann' as x from dual
    )
    select x from t where regexp_like(x,'([äöüßé])\1')
    ;
    

    .. .assuming you have a complete list of special characters that you can specify in the function regexp_like.

    Kind regards
    Bob

  • Special characters: Angle symbol

    Hi, I am trying to find the symbol 'angle' commonly used in mathematics (two lines forming an angle of 45 degrees, an acute 'L')

    The answer previous (linked) says to do the following

    -Edit

    -Special characters

    -Math (etc.)

    However, this is an old post and now this option seems unavailable.

    Seems to be replaced by 'Emoji and symbols' However the closest I can find in this list is "⎳".

    I sincerely hope that I have not only lack. Thank you

    Execution of Yosemite 10.10.3

    angle geometry symbol, can it be typed? Which character keyboard or the police?

    Emoji & symbols is just a new name for special characters.

    Did you click on the toothed wheel and customize and add mathematical symbols?  I see ∠ to U + 2220.

  • Special characters and accents on the smart keyboard?

    How to type special characters and accents on the smart Pro iPad keyboard? For example, I like to write "Róisín Murphy" with accents in the name as shown here. But I can't find a way to do it. Are there not as a software keyboard that I can draw on screen for those?

    Thank you.

    If you have your English keyboard, then you can use the standard Mac shortcuts.  For acute, you more e option, then the basic letter.  e is more e, then e option.

    If you have your keyboard to something else, like Italian, then it might be different.  That your keyboard is set to?

  • where are the special characters in the new Pages?

    where are the special characters in the new Pages?

    Menubar pages: Edit: Emoji & symbols, or control-command + space combination. Same situation in other Apple applications. In addition, available as a menu item from the menu entry in the menu bar to the right, Finder.

  • Special characters (characters sub) for base as Octal and hexadecimal number systems.

    I would like to add the characters void series of numbers to base such as the Octal and hexadecimal numbers. Is there a function that I can play with my keyboard to get these characters sub? Microsoft Office Word 2007 have only 0, 1, and 2 for base numbers.

    Hello Intrepid02,

    ·         What, exactly, are the special characters that you want to add?

    ·         You want to add them with Office 2007?

    If you want to add special characters with office, the question you have posted is related to Microsoft Office and would be better suited to the Microsoft Office community. Please visit the link below to find a community that will provide the support you want.

    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Office.misc&lang=en&CR=us

    Thank you

    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Chips and other special characters in the App World descriptions

    How is one makes chips and other special characters in the description of the app in the supplier portal?  I see various descriptions app with chips so I know it's possible.  I tried Googling the answer, but to no avail.  Can someone point me to the documentation for it?

    Thank you

    Lester

    I think it's just the Unicode text, so if you include these characters when you submit the form, they will display.

    Your question is perhaps more on how to insert these characters into the HTML form. To do this, because I need it rarely, I didn't copy and paste of a website where I can find the required text. For example, Google for 'unicode ball' and you can find one of them on one of the first findings of the research, such as the Wikipedia article.

    Some people probably have their systems set up to type Unicode directly from their keyboard, but I never got to determine the modern way to do this (and the last time I checked, years, Unicode in operating systems support was still largely missing).

  • Read the special characters from the txt file

    Hi guys,.

    on blackberry 9000, I tried to read some special characters like this: ° ²® µ±³ ° ¯´µ±´¯® text file

    using this function:

    FileConnection fc = (FileConnection) Connector.open ("file:///SDCard/test.txt", Connector.READ_WRITE);
    InputStream is = fc.openInputStream ();
    InputStreamReader reader = new InputStreamReader (is, "UTF - 8");
    LineReader lineReader = new LineReader (is);
    line & = new String (lineReader.readLine ());

    what I get is different, I can't write it here, it is difficult to find these characters.

    I change the content of the file to:

    ddfdsfdsfdsfdsfdsf
    aaaaabbbc ° ² ° ¯´µ±´¯® µ±³®

    now I get:

    ddfdsfdsfdsfdsfdsf
    aaaaabbbc, then the same characters

    How to display the same as what I have in the text file?

    Thank you

    To add to what martijnbrinkers said, you need not to the InputStreamReader because you don't use it (and this is why your code has no idea that the file is in UTF-8 encoding).

  • Special characters of blackBerry Smartphones?

    How can I use special characters (example: an 'e' with an accent as used in the french language, etc.) on my bb 9300?

    While pressing the 'e' key, highlight your trackball side by side, you will find the different variations of e.

    You can do it with most of the keys for special characters.

Maybe you are looking for

  • The Flashcards for the FN keys disappears on the Satellite A200-1iz

    Hello, I hope you could help me on the following: I have the Satellite A200-1iz and I installed the new drivers and then when I press the FN button the pop-up window with the function keys but when I place the cursor at the top of the screen, the pop

  • PXI-6120 HAVE values only show the low limit values

    Hello, I use a PXI-6120 with traditional DAQ driver module screws switch a signal of AI to a PFI channel that allows synchronization of area of OCCUPANCY the AI. In order to measure a single channel of AI with the same set-up, I stopped the criterion

  • attention light

    I just bought the HP color laserjet pro printer MFP M176n and I had at the beginning but its stuck during initialization and the green circle and the orange attention lights will not disappear. I do not jams, I turned it extinguished/turned on. It do

  • After updates on Nov.11 button starts everything seems different.

    After several updates on Nov.11 in the Start button everything seems different, I wonder what I did or if it should be that way, and Explorer is very slow to open? Original title: updates on Nov.11

  • Always encrypted file.

    Test device: BlackBerry "BOLD" 9000 (v4.6.0.245) I have an application that created a file of text on handheld.He is currently working on the handheld.But when I access the file on PC, I found the encrypted file. (it has the .rem extension I'm sure i