How to remove special characters UNICODE as n

Hi all
In my RDF file, I should accomidate comes so that, whatever currupt characters (UNICODE symbols in particular) between the email_address, he must change his later character like that...

The output of n should be n. It is a kind of example...

When the input value is 'john.mun [email protected]' he must return to "[email protected]".

I tried to use the following functions, but the result shows me always the same...

Select UNISTR ("john.mun [email protected]") of the double

Select translate (trim (email_address) {,'1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ WE8ISO8859P1 ~! #$% ^ & * () _ +} {":?"}) [> < ' =] ["'; /, ',' (1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ') of per_people_f]
where employee_number = 3951

Select CONVERT ('john.mun [email protected]', 'US7ASCII') of double

Select regexp_replace ('john.mun [email protected]', ' [^-. @, a - z, A - Z, [: space:]]') twice;

If you have any ideas... Please let me know...
Thanks in advance
Ravi.

Published by: rkpinus on July 30, 2009 08:14

rkpinus wrote:
In my RDF file, I should accomidate comes so that, whatever currupt characters (UNICODE symbols in particular) between the email_address, he must change his later character like that...

The output of n should be n. It is a kind of example...

When the input value is "john.mun[email protected]"he should return to ' [email protected]'

You said it is corrupt, and you know n must be converted to n.

You can add more characters you know the output should be, just add it to the function to translate.

SQL> select
  TRANSLATE ( 'john.muñ[email protected]' ,'üéâäàåêëèïîìÄÅÉæÆôöòîìÅæáíóúñÑ','ueaaaaeeeiiiaaeaaoooiiaaaiounn')
from dual ;

TRANSLATE('JOHN.MUñO
--------------------
[email protected]

SS

Tags: Database

Similar Questions

  • How to remove special characters that are not available in the key board

    Hi all
    How to remove special characters that are not available in the key board.
    select '106    ©      500049' str from dual;
    
    After removal of the special symbols ( not only copy right, it can be any special symbol other than key board symbols), I want to add a single space between two number.
    
    Output should be like:
    Str
    106 500049
    Thank you for your help in advance.
    select
     '106    © ® (k)      500049' str
    ,regexp_replace('106    © ® (k)     500049', '[^[:digit:]]+', ' ') r
    from dual
    
  • How to remove special characters from the string using translate() without typing all special characters?

    Hi all

    I am trying to remove special characters without the help of regular expressions.

    translate (the column name or string,'!@#$ & * (* () _) * "" :} {?}) >? /, «, » ')

    I want to eliminate this manual process to give all special characters using a chr() or ascii() function.

    Please show me the way.

    Thanks in advance

    Similar to the solution of Michael...

    SQL > ed
    A written file afiedt.buf

    1 with t as (select "[it comes of the #] [more amazing!") Test @# "$* & $%) assuming chain cost $ 5 000' double Str)
    2, i like (select level 1 c from dual connect by level<=>
    3 less
    4 Select + 32 (level-1) double connect by level<=>
    5 less
    6 select + 58 (level-1) double connect by level<=>
    7 less
    8 select + 91 (level-1) double connect by level<=>
    9 less
    10. Select 123 + (level-1) from dual connect by level<=>
    11 less
    12. Select 255 double
    13            )
    14, ts as (select level r, substr (str, level 1) c
    15 t
    16 connect by level<=>
    17             )
    18, tf as (select row_number() (order for r) r
    19                    ,ts.c
    20 TS
    21 I join on (i.c = ascii (ts.c))
    22             )
    23 select replace (sys_connect_by_path(c,'!'),'! ') Str
    24 TF
    25 where connect_by_isleaf = 1
    26 connect r = prior r + 1
    27 * start with r = 1
    SQL > /.

    STR
    -----------------------------------------------------------------------------------------------------------------------
    Thisisthemostamazingtest¸astringcosting5000

    Or something as horrible as this...

    SQL > ed
    A written file afiedt.buf

    1 with t as (select "[it comes of the #] [more amazing!") Test @# "$* & $%) assuming chain cost $ 5 000' double Str)
    2, I like (select replace (sys_connect_by_path (chr (c), 'A'), 'A') as tr)
    3 of)
    4 select c, rownum r
    5 (select 32 + (level-1) as the double connection by level c<=>
    6                         union
    7 select + 58 (level-1) double connect by level<=>
    8                         union
    9 select + 91 (level-1) double connect by level<=>
    10 the union
    11. Select 123 + (level-1) from dual connect by level<=>
    12 union
    13. Select 255 double
    14 tri 1
    15                        )
    16                  )
    17 where connect_by_isleaf = 1
    18 log r = prior r + 1
    19 start with r = 1
    20            )
    21 select translate (str, 'A' |) TR, 'A') as str
    22 * t, I
    SQL > /.

    STR
    --------------------------------------------------------------------
    Thisisthemostamazingtest¸astringcosting5000

  • remove special characters

    Hello

    How to remove special characters except '-'',' '. " in a string.

    Database: 10g

    Thank you

    Hello

    For example, use the REGEXP_REPLACE

    REGEXP_REPLACE (str

    , '[^-,.]'

    )

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results desired from these data.

    In the case of a DML (UPDATE), for example, the sample data should show what looks like the tables before the DML, and the results will be the content of the or the tables changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • How to remove unwanted characters in ODI Flatfiles

    Hi Experts,

    Can someone please explain, how to remove unwanted characters from flat files before moving on to the target? Your help will be greatly appreciated. Thanks in advance.

    Kind regards

    REDA

    On oracle staged you can use REGEX_REPLACE to get rid of special characters, for example

    REGEXP_REPLACE (, "[^ [: alnum:]" "]', NULL")

    or

    REGEXP_REPLACE (, "[[: cntrl:]] ','") to get rid of nonprinting characters

    In ODI 11.x you would put this in the field of the expression of the target model in your interface

    The ODI 12, you would use a component of the expression in your mapping

  • How to insert special characters when I hit e-mail or Facebook?

    How to insert special characters when I hit e-mail or Facebook?

    See also:

  • How to get special characters in the oracle column only

    Hi all

    with spec_tab

    as

    (

    Select ',' col1 of double

    Union

    Select ',' col1 of double

    Union

    Select 'something' double

    )

    Select col1

    of spec_tab

    How to get special characters in the oracle column only

    You mean like this?

    -------------

    WITH spec_tab
         AS (SELECT ',,,,' col1 FROM DUAL
             UNION
             SELECT ',' col1 FROM DUAL
             UNION
             SELECT 'some thing' FROM DUAL)
    SELECT col1
      FROM spec_tab
      where translate('~'||col1,'~0123456789abcdefghijklmnopqrstuvwxyz ','~')<>'~'
    

    Output:

    -----

    COL1

    ,

    ,,,,

    See you soon,.

    Manik.

  • How to enter special characters with the Run statement (@).

    Hello

    Oracle10g (R1)

    NLS_CHARACTERSET = "AL32UTF8.

    When I insert record with special characters like "hastened" with the customer tool insert it works fine, but I run the same INSERT statement execution i.e. statement "SQL > @/ path/Script_File_Name.sql ' special characters has not inserted correctly and it become something like 'h¿ta'.»»

    How to enter special characters correctly race (@) statement?

    Thank you

    If you create a file in Notepad, select the ANSI or the encoding UTF-8 in the dialog box save as.  Copy the Linux file in binary mode. Set the variable NLS_LANG ".» WE8MSWIN1252 ", if the file was saved with the ANSI coding or to. AL32UTF8", if the file was saved with UTF-8 encoding. Be sure to export the variable.  Then, start SQL * more and run the script.  I guess that you are on a U.S. or Western Europe of Windows version.

    Thank you

    Sergiusz

  • Function to remove special characters

    I'm trying to figure out if there is a function anywhere in the Finder that can be used to remove special characters in a field. I wish they had just removed. Any help would be great.

    Thank you!

    934527,

    I'm glad it helped.

    When I said, "import" function, I should say, 'save' function. Using the administration tool of the Disco, the following should be done:

    -Connect to the instance of eul
    -Select Tools > register of PLSQL function
    -the import function (owner is SYS) and the function is in the package, 'STANDARD '. It seems that you did not identify SYS as the owner. In addition, it is very important to be aware that the 'STANDARD' is the package.

    Directions to the disco of 11g administration tool are here, http://docs.oracle.com/cd/E17904_01/bi.1111/b32519/adpsff01.htm.

    Patrick

    Published by: Patrick Bacon on May 20, 2013 14:32

  • How to insert special characters

    Hey,.

    I can't understand how to insert special characters in a paragraph (the "Indent to Here" in this case).

    I tried text_frame.paragraphs [0] .silence += SpecialCharacters.INDENT_HERE_TAB;  but all I get is "1397319796" instead of the actual character.

    How to insert special characters instead of these numbers?

    Zoffix222 wrote:

    People who visit, but nobody don't know it?

    What, you mean that in the 5 minutes that you posted it responded to nobody? Shocking indeed.

    You already learned by yourself, 'content' is the wrong type of object stuff "SpecialCharacters' in. 'content' is the content of the text, translated in a simple string of Javascript. Only when you change a single 'character', you can use "SpecialCharacters", because at that time there Extendscript will see that you do not want to change the string "full"?

  • How to avoid special characters in a string

    Hai.

    I want only Alphabets & numbers to appear on my channel. No other special characters except spaces. How can I do this?

    Hi Alice,.

    See the attached example.

    It will be useful.

    Mike

  • Function to remove special characters in a column.

    Hi all

    In one of my column, we get special characters, as well as others. The data are extracted and loaded through Informatica. We are not face any problem while loading into the target, but when we try to extract these data through the report, it fails with the error:

    ORA-29275: partial multibyte character sets

    When we check this column, we find the special characters. Initially, we have implemented logic with the CHR to replace these NULL values. But every time we get different values. To make the permanent solution, we decided to remove all characters except available on Board of the key.

    Now, to this end, I need to write a function in Oracle's PL/SQL. I do not know more easy way from there to achieve. If I go with the CHR() function, I have to write for all these characters, which I think is not the right solution.

    Enjoy, if someone can help me identify the function or the way to get there.

    Thanks in advance.

    Hello

    AceNovice wrote:

    ... we have decided to remove all characters except available on key board...

    It depends on your keyboard.

    All that is on the keyboard you, something similar to this shoud work:

    REGEXP_REPLACE (string_column

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

    )

    This will return a copy of string_column, but with all the characters that are not not in the 2nd deleted argument.

    [Inside the brackets, ']' must come first (immediately after the ' ^') and '-' must come last.

  • 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 keep special characters in a dynamic textfield for textual comparison?

    The problem is the following:

    As I develop primarily for several languages, I have to have dynamic textfields in my buttons that contain three lines (to account for the different text.lengths in different languages).

    I then fill the textfields with strings from an array or an xml and use the contents of textfields later in my button class to run a different code based on the contents of textfields.

    It works fine as long as I don't use special characters, such as for example '\n '.

    var labels: Array = ["\nLABEL1","LABEL\n\n2"];

    ...

    Switch (e.currentTarget.txt.text)

    {

    labels box [0]:

    doSomething();

    break;

    [1] case labels:

    doSomethingElse();

    break;

    }

    ...

    Watch the good thing in the label of the button (breaks up the text were want it)

    but stops working

    (htmlText & < br > This is the same thing)

    My solution for now is to use spaces to fill,

    var labels:Array = ["                   LABEL1","LABEL                                                                        2"];

    but it's obviously ugly to set up and require a lot of trial/error to get it right for all languages.

    Any ideas how to get around this?

    This isn't a good idea to rely on the labels of the buttons to link to the feature at first - we shouldn't mix presentation and business logic. There is more than one dependencies. A better approach would be to separate the presentation logic.

  • 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.

Maybe you are looking for

  • New Strip to the Restore tab

    In Firefox 29.0.1, I want to open a new tab to appear as a tab on the tape to tabs, alongside existing tabs. Here is my latest version of Firefox. Now, I can't drag the tab new button in the toolbar for the band to tabs, or move to the Strip to custo

  • Problem USB Qosmio F60 - 10K

    Hello.. .and all usb ports suddenly decided to not recognize whatever it is attached as a mouse, external HARD drive. The funny thing is that ports are in fact alive since they provide the power and they appear in the Device Manager window. I tried t

  • Problems of its Equium M50

    Hello I've had an Equium M50 for about a year and a half now with no real problems, although recently the sound plays up. Any system windows crackle and sounds deformed while other sounds seem to have an echo. Can anyone advise how to solve this prob

  • MSI A6200 (I3) laptop no sound from speakers usb nexxtech external

    Tried to solve the problem using shooters poorly supplied with Windows 7, but no luck.

  • Enable analysis to Mac computers?

    Hello I'm Dutch and try but fails to activate my Deskjet 3520 computer analysis. My wireless network is working properly. I can print and scan from my Mac through wireless network connection I also allowed a Windows 8 computer on the network. My prob