How to remove all special  characters

Hi,
I want to remove all (128-223)the special characters that come in the mapping from the URL
http://www.danshort.com/ASCIImap/
128-223 ,I mean if any characters that come in between these numbered characters I have to remove in mapping.
please suggest.
thank you,
Sri

HI Sri
You can use the Java code as given above
Other method can be XSLT
  <xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
            <xsl:output  method="xml" indent="yes" omit-xml-declaration="yes"/>
            <xsl:template  match="/source node">
                  <target node>
                        <xsl:value-of  select="replace(.,'sepcial character','')"/>
                  </target node>
            </xsl:template>
      </xsl:stylesheet>
Thanks
Gaurav

Similar Messages

  • How to  remove the Special characters like @,#,$ ,..from field

    How to  remove the Special characters like @,#,$<,..from text  field. we nedd to remove any specila char from text field .
    ex:text  = just#fi%cation@text
    the text should be justification.

    hi check this ..
    data:char(25) value '5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with 'and' .
           replace all occurrences of '&' in char with 'num' .
         write: char.
    or use this..
    data:char(25) value 'test@ing*5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with space .
           replace all occurrences of '&' in char with space .
           replace all occurrences of '@' in char with space .
           replace all occurrences of '*' in char with space .
         write: char.
    regards,
    venkat.

  • How to escape or remove the special characters in the xml element by regula

    Hi members,
    How to escape or remove the special characters in the xml element by regular expression  in java??
    For Example ,
    <my:name> aaaa </my:name>
    <my:age> 27 </my:age>
    In the above example , i have to retrieve the value of the <my:name> Element(For examlpe -- i have to get "aaaa" from <my:name> tag)...
    How to retreive this value by using DOM with XPATH in java
    Thanks in Advance

    Hi members,
    I forget to paste my coding for the above question....This is my coding......In this display the error...... Pls reply ASAP.......
    PROGRAM:
    import java.io.IOException;
    import java.util.Hashtable;
    import java.util.Map;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    public class DOMReaderForXMP {
         static Document doc;
         static XPath xpath;
         static Object result;
         static NodeList nodes;
         public DOMReaderForXMP() throws ParserConfigurationException, SAXException,
                   IOException, XPathExpressionException {
              DocumentBuilderFactory domFactory = DocumentBuilderFactory
                        .newInstance();
              domFactory.setNamespaceAware(true);
              DocumentBuilder builder = domFactory.newDocumentBuilder();
              doc = builder.parse("d:\\XMP.xml");
              XPathFactory factory = XPathFactory.newInstance();
              xpath = factory.newXPath();
         public static void perform(String path) throws Exception {
              result = xpath.evaluate(path, doc, XPathConstants.NODESET);
              nodes = (NodeList) result;
         public void check() throws Exception {
              perform("//my:name/text()");
              if (!nodes.item(0).getNodeValue().equals("application/pdf")) {
                   System.out.println("Mathces....!");
    ERROR:
    Exception in thread "main" net.sf.saxon.trans.StaticError: XPath syntax error at char 9 in {/my:name}:
    Prefix aas has not been declared

  • How can I display special characters of NonEuropean languages (French, Italian, Spanish, German and Portuguese.) using import string mechanism

    I would like to translate the User Interface of my application to French, Italian, Spanish, German and Portuguese.
    When I put special characters in the import string file they showed up as ? (question mark)
    The import strings file includes the following parameters for each string: font, text, size and style. (but no field for script)
    In order to use a unicode font such as Arial I need to select a french script. But this option is not supported bu LabView (As far as I saw)
    A) Is there a font which is directly German/ French etc and not regula font + script parameter?
    B) Are there another required step
    s for special characters support? (When I put speciual characters in the import string file the showed up as ? question mark)

    This was discussed last week in this group- read the previous messages.
    Look for the thread "Foreign Languages in Labview"
    And recite the mantra
    ActiveX is good
    ActiveX is holy
    All Hail Bill
    Those who claim otherwise are heretics and not to be trusted
    Actually, in this case the non-ActiveX suggestions may be good.
    talia wrote in message
    news:[email protected]..
    > How can I display special characters of NonEuropean languages (French,
    > Italian, Spanish, German and Portuguese.) using import string
    > mechanism

  • How can I distinguish special characters or signs in Doc through VBA?

    How can I distinguish special characters or signs in Doc through VBA?
    I have a few large documents written in word 2003 format and now I work on them under word 2007.
    Such large documents containing lots of special characters.  I want to change them into Microsoft 3.0 equation form(It is required by the team). I find no way but using function AddOLEObject and  Sendkeys through VBA. Common characters can be added
    to equation by function Sendkeys, but the return value of Asc() or AscW() for "double arrow", "in" , " not greater than " such special characters or signs, to name but a few are the same ,i.e., 40 And I cannot distinguish them.
    I found the link http://msdn.itags.org/word/44333/ may be of use to me, and the title is:
    How to read symbols from a DOC documents! (Microsoft Word)
     the original question is
    Using function "InsertSymbol", I can insert a symbol into a document. But
    how can I read a symbol from a document?
    Using "Characters(i).range.text", I can read a char. But when meeting a
    symbol, the value of "Characters(i).range.text" is always '('.How can I get the CharacterNumber of the symbol.
    And the final answer is :
    Hi chenfeng,
    Word protects symbols from symbol fonts if you insert them from the "Insert
    > Symbol" dialog.
    This is done so they aren't changed when you change the font or style. But
    it also results in Word reporting AscW( ) = 40 on all of them.
    I've posted a macro to "unprotect" them (or to protect them again if you
    want) ... just today again in
    Newsgroups: microsoft.public.word.vba.customization
    Subject: Symbol Characters
    Date: Mon, 3 May 2004 11:00:46 -0700
    Message-ID: <09f401c43138$8f92f900$[email protected]>
    It isn't archived on Google yet, but tomorrow you should be able to simply
    copy the message ID into http://www.google.com/advanced_group_search.
    Regards,
    Klaus
    But the link for the macro in the final answer is missing.
    Can anyone with kindness help me? Thaks a lot.

    Following Cindy Meister's Advice ,I use MathType SDK.
    The sample in MathType SDK in the following may be meaningful,but I do not know how the MTEF for cos^^2Theta, MTEF for sin^^2Theta and MTEF for 1 are generated .
    It looks much complicated,and I searched the docs in MathType SDK to get a explanation.Is there any function to generate them? I want to use this method to change commaon text mathematical signs( in special character table) and  Greek letters and characters
    with subscripts and superscripts to Microsoft 3.0 equation form.
    Can anyone with kindness help me?
    Sub MTEFTextSubstitution()
        Dim MTEFStr1$, MTEFStr2$, MTEFStr3$
        Dim stat
        'MTEF for cos^^2Theta
        MTEFStr1$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaci4yaiaac+" + _
            " % gacaGGZbWaaWbaaSqabeaacaaIYaaaaOGaeqiUdehaaa!3B65!"
        'MTEF for sin^^2Theta
        MTEFStr2$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaci4CaiaacM" + _
            " % gacaGGUbWaaWbaaSqabeaacaaIYaaaaOGaeqiUdehaaa!3B6A!"
        'MTEF for 1
        MTEFStr3$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaaGymaaaa!36A4!"
        Selection.Copy
        'Init API, reset transform
    '    If MTUtil.CheckMTDLLVersion = 0 Then Exit Sub
        If Not IsDLLVersionOK() Then Exit Sub
        MTXFormReset
        'first substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v1>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr1$, Len(MTEFStr1$), 0)
        If stat <> 0 Then
            MsgBox "1st MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'second substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v2>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr2$, Len(MTEFStr2$), 0)
        If stat <> 0 Then
            MsgBox "2nd MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'third substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v3>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr3$, Len(MTEFStr3$), 0)
        If stat <> 0 Then
            MsgBox "3rd MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'do the substitution
        stat = TransformGraphicEquation
        If stat <> 0 Then
            MsgBox "TransformGraphicEquation returned: " + Str(stat)
            Exit Sub
        End If
        MTTermAPI
        'Paste new equation
        Selection.Collapse Direction:=wdCollapseEnd
        Selection.PasteSpecial Placement:=wdInLine
    End Sub

  • Firefox hangs on opening requiring force quit I have snow leopard mac It hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise m

    Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
    == This happened ==
    Every time Firefox opened
    == I tried to update firefox add-ons ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Try a new profile. See [[Recovering important data from an old profile]]

  • How to remove all CIM in SLD

    Hi all
    i would like to remove all software component from current SLD. i am not telling reimport new released CIM and Contents Version.
    how to remove all related component to make empty SLD BOX?
    Regards and Thanks in advance
    Tony

    david,
    goto SLD-> software catalog -> products / s/w components...
    now when u open any particuler product, the ris an button of REMOVE, click tht to remove tht product and all its related components else,
    select ur component u want to delete and then again click REMOVE, u will be deleting only tht componenet...
    so u need not delete all the components or products, just the ones u dont find useful...
    regards...
    vishal

  • Find All Special Characters in a SQL Server

    I would like to find all Special Characters in a table. I am currently using the code below. Not sure if this gets all of them.
    select  top 50 *
    from [dbo].[SV20150122]
    where street LIKE '%[^0-9a-zA-Z @\.\-]%'
    SQL

    Depends on what you want to count as a special character.  Depending on your collation, your query might not consider é (for example) as a special character.  The same goes for other accented letters.  If that's what you want, then fine. 
    If that is not what you want, you may want to do
    where street LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
    In any case, you can see exactly which characters are NOT counted as special characters on your system (with and without the Collate clause) by running
    Declare @Test Table(ID int, MyData char(1));
    ;With cte As
    (Select 0 As Number
    Union All
    Select Number + 1
    From cte
    Where Number < 255)
    Insert @Test(ID, MyData)
    Select Number, CHAR(Number)
    From cte Option(MaxRecursion 256);
    Select ID, MyData From @Test
    Except
    Select ID, MyData From @Test
    Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%'
    Select ID, MyData From @Test
    Except
    Select ID, MyData From @Test
    Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
    Note: the above code assumes the column street is char or varchar. 
    Tom

  • How to check multiple special characters in instr function sql query.

    Hi,
    The following special characters are comma(,), slash(/), colan(:)
    these special characters i need to be check in instr function.
    select SUBSTR(master_title,1,INSTR(master_title,',',1,1)-1) from dual;
    Can you please write the query with right answer.
    Thanks in advance,
    Lakshman.

    Why multiple post?
    How to check multiple special characters in this query.

  • How to remove all instance in a repeatable subform (bis)

    Hi Niall,
    A few years ago, you helped a user who asked "How to remove all instance in a repeatable subform". Please could you do again with approximately the same problem ?
    In a click event, I have the script "_CarteEN.addInstance();". Well ! Many cards appear. To protect them, I put above a mask (it's a button with a background Fill). Now, how can I do to remove all masks with only one click using the resetdata or anything else...
    I try this but it doesn't work.
    while (flowedSubform.CarteEN._CacheCV.count > 2)
         flowedSubform.CarteEN._CacheCV.removeInstance(1);
    Many thanks for your help !

    There is no subform named "flowedSubform"
    The "CacheCV" is not a container object (subform). so you can't access the instanceManger of this object.
    the below lines should work
    while(_CarteEN.count >1)
         _CarteEN.removeInstance(1);
    Nith

  • How to remove all transitions?

    I used the automate to sequence with default transition. A few dozens of transitions were added to the sequence.
    How to remove all the transitions without deleting the sequence and starting from scratch please?
    Thanks in advance.

    The difference in file size you are seeing is because you are only using motionless stills in your movies. No motion, and no effects. Some codecs allows for file size reduction by writing first and last frame information for a still, regardless of the length in the video sequence. Why the transition increases file size is because the codec actually has to write info for each frame in the length of the transition.
    This is not going to be the case with anybody working with actual video clips, or if someone adds motion to their stills. The codec then has to write information for every frame, resulting in a larger file size. For most projects, transitions will not make any significant change in file size.

  • How to remove all ALV buttons?

    Hello all.
    Does anyone know how to remove all the ALV buttons?
    I now the IT_EXCLUDING option, but is there a different and
    faster way?
    (I'm using ALV classes).
    Thanks!

    hii..
    All the ALV Toolbar Buttons can be removed in Single Shot.
    There is a method in CL_GUI_ALV_GRID->SET_TOOLBAR_VISIBLE.
    it is protected method create class that is inheriting from CL_GUI_ALV_GRID.
    CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          error   = 1
    *          others  = 2
           IF sy-subrc <> 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    Set visible to '0' will disable all the buttons.
    Example Program:
    *DATA DECALRATIONS
    TYPES : BEGIN OF ty_sflight,
           carrid TYPE sflight-carrid,
           connid TYPE sflight-connid,
           Fldate TYPE sflight-fldate,
           price TYPE sflight-price,
           currency TYPE sflight-currency,
      END OF ty_sflight.
    DATA : IT_SFLIGHT TYPE TABLE OF TY_SFLIGHT,
            WA_SFLIGHT TYPE TY_SFLIGHT.
    DATA : IT_FCAT TYPE LVC_T_FCAT ,
            WA_FCAT TYPE LVC_S_FCAT.
    data : o_cont type REF TO cl_gui_custom_container ,
            o_grid type REF TO cl_gui_alv_grid.
    CLASS LCL_ALV DEFINITION INHERITING FROM CL_GUI_ALV_GRID.
       PUBLIC SECTION.
         METHODS : M1.
       ENDCLASS.
       CLASS LCL_ALV IMPLEMENTATION.
         METHOD M1.
           CALL METHOD ME->set_toolbar_visible
             EXPORTING
               visible = '0'
    *        EXCEPTIONS
    *          error   = 1
    *          others  = 2
           IF sy-subrc <> 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
         ENDMETHOD.
         ENDCLASS.
       START-OF-SELECTION.
         CALL SCREEN 200.
    *&      Module  STATUS_0200  OUTPUT
    module STATUS_0200 output.
       SET PF-STATUS 'ZDC'.
    *  SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
    module USER_COMMAND_0200 input.
    CASE SY-UCOMM.
       WHEN 'BACK'.
         LEAVE TO SCREEN 0.
         ENDCASE.
    endmodule.                 " USER_COMMAND_0200  INPUT
    *&      Module  GET_DATA  OUTPUT
    module GET_DATA output.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF TABLE IT_SFLIGHT
                                                              UP TO 50 ROWS.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '01'.
    WA_FCAT-fieldname = 'CARRID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '02'.
    WA_FCAT-fieldname = 'CONNID'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '03'.
    WA_FCAT-fieldname = 'FLDATE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '04'.
    WA_FCAT-fieldname = 'PRICE'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CLEAR WA_FCAT.
    WA_FCAT-col_pos = '05'.
    WA_FCAT-fieldname = 'CURRENCY'.
    WA_FCAT-tabname = 'SFLIGHT'.
    WA_FCAT-ref_table = 'SFLIGHT'.
    APPEND WA_FCAT TO IT_FCAT.
    CREATE OBJECT o_cont
       EXPORTING
    *    parent                      =
         container_name              = 'C1'
    .DATA O_ALV TYPE REF TO LCL_ALV.
       CREATE OBJECT O_ALV
       EXPORTING
         I_PARENT = O_CONT.
    CALL METHOD o_ALV->set_table_for_first_display
       CHANGING
         it_outtab                     = IT_SFLIGHT
         it_fieldcatalog               = IT_FCAT
    CALL METHOD O_ALV->M1.  "method called to remove all the toolbar buttons
    endmodule.

  • How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS

    Dear gurus,
    how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
    Arun

    Hi,
    Take a look:
    http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
    Regards,

  • How to remove all superscripts?

    How to remove all superscripts from large document?
    I tried to use find/replace and then find format, but i could not find superscript checkbox.

    In Find/Change , under Find Format, go to the Basic Character Formats section and it's in the Position dropdown on the lower right.

  • How to remove all nodes (except root node)from a Jtree?

    How to remove all nodes (except the root node)from a Jtree?

    Either:
    - remove all children of root.
    - save the root node, throws away the tree model, build a new TreeModel with the saved root, set the new TreeModel in the JTree.
    - implement your own TreeModel, which would support an emptyExceptRoot() method.
    IMHO, using the DefautlTreeModel and DefaultMutableTreeNode does lead to all sorts of small problems when the app evolves, and implementing your own TreeNode and TreeModel is not that hard and much more efficient.

Maybe you are looking for