How to  Remove the  Spc Char from a String ?

Hi
I am trying to stream out the file name after useing Timestamp. It throws some exception
So I used the trim method for remove the space and spacial charater. But does't trim even space also.
Please any body help me how to remove the space and spceial characters from my string.
The file name ( String of value)
2c5e773bad5e153cf91d7adabc121e62007-03-30 21:54:43.219.ivwr
the file name after removing will be like this
d2c5e773bad5e153cf91d7adabc121e620070330215443.ivwr
pls help me
Thanks,
Merlin Roshina

filename = filename.replaceAll("(?!\\.ivwr$)[- :.]","");

Similar Messages

  • How to remove the credit card from the Apple id?

    how to remove the credit card from the Apple id?
    plz ITS urgently

    If the option to select "None" isn't appearing when you attempt to edit your payment information, then there is likely a billing issue with your last iTunes Store purchase(iTunes didn't receive payment from your credit card company for that order). Before you can remove your credit card, you have to pay for the unpaid order. You can call your credit card company and troubleshoot the billing issue with them, or try another card, or if you live in a country that supports iTunes Gift Cards, you can redeem one of those to pay for the order. Once you have done that, you should be able to remove your credit card info as outlined in http://support.apple.com/kb/ht1918

  • How to remove the silican ball from the audio jack

    how to remove the silican ball from the audio jack in DV6 6116 laptop

    Try a vacuum, otherwise it will certainly require disassembly to attempt to remove it from the jack.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.

    Hi Gurus,
    How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.
    Thanks
    Shobhit Shukla

    Hi Shobhit,
    Please personalize the self-service page and make that field non-updatable with default value "Confirmed".
    Thanks,
    Avinash

  • How to remove the IT policy from my Torch 9800, or how to reset the device to original setting

    I have a Torch 9800 formerly- used for business emails. According to our company policy there was an IT policy installed to the device hence would force the user to set password protecting the device.
    Now this device has been retired and I like to use it only for regular phone calls thus do not like to have a password protection. My question is:
    How to remove the IT policy from the device?
    or
    How to reset the device to original setting?
    I have been trying to swipe and scrub the device several times but that IT policy still exist. Need help......
    Solved!
    Go to Solution.

    See the RIM Knowledge Base article here for information on how to remove an IT Policy. See the Method Three in the link:
    KB14202 How to remove an IT policy from a BlackBerry smartphone
    Read this RIM Knowledge Base article to reset your device to the factory settings.
    KB18998 How to reset a BlackBerry smartphone to factory defaults
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to remove the approved order from the table in sapui5

    Hi Experts,
      how to remove the approved order from the table in sapui5.
    After Approving the order how to remove the order from the table in sapui5.
    Please help me.
    Thanks & regards
    chitti Babu

    Hi,
    Probelm is OBIEE on your machine.Some one might have deleted pdf option.
    Refer : http://obiee101.blogspot.com/2009/07/obiee-dashboard-default-controls.html
    Try to find out tag that is to be removed from controlmessages.xl so that you have only HTML.
    Update :
    Stop BI Server.Try removing below tag and restart server.
    (sawm:if name="enablePDF">(a class="NQWMenuItem" name="pdf" href="javascript:void(null)" onclick="return PortalPrint('@{pdfURL}[javaScriptString]',@{bNewWindow});">
    <sawm:messageRef name="kmsgDashboardPrintPDF"/></a)</sawm:if)
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Apr 19, 2011 3:36 AM

  • How to remove the pic icon from the start screen?

    How to remove the pic icon from the start screen?

    You can turn it off via Settings > General > Passcode Lock > Picture Frame , but only if you have a passcode set - if you don't use a passcode lock, then you can't turn picture frame off (the option will be greyed out)

  • How to remove the default theme from "Revolution theme" to create our own movies and put our own background..

    how to remove the default theme from 'Revolution theme" to create movies of our own and a background..
    how to create chapter maker for movies...

    Are you using iDVD? Or iMovie?
    If iDVD, post in -> https://discussions.apple.com/community/ilife/idvd.
    If iMovie, post in -> https://discussions.apple.com/community/ilife/imovie.
    Good luck,
    Clinton

  • How to remove the time slider from my project and keep only buttons

    How to remove the time slider from my project and keep only buttons to interact with my project .

    If I understand you correctly, go to the skin editor (Project, Skin Editor in Captivate 4), select the Playback Control tab, uncheck the Progressbar check box.  Leave checked the buttons for play/pause, rewind, forward, back, etc.
    I hope this helps.
    Mister C.

  • Does anyone know how to remove the fisheye effect from a gopro camera, remove it with premiere pro c

    Does anyone know how to remove the fisheye effect from a gopro camera, remove it with premiere pro cc.

    Use the Lens Distortion effect, set curvature to your liking.

  • How to remove the a report from Transport

    Hi Have CR in transport and the CR contains many reports.
    a) If  i want to remove one report from that, plese tell wht are the steps do i need to follow.
    b)  if i want to remove entire transport request,Plese tell how to remove  the transport
    c) also give me steps if i want to remove the entire CR  from the transport.
    thanks in advance
    d) also please give me steps to release it to Quality.
    Thanks in advance.
    kp

    Hello KP,
    a) If i want to remove one report from that, plese tell wht are the steps do i need to follow.
    Go to SE09
    Find out the TR where u have added the report.
    Select the report and click delete button. A Popup will apprear for confirmation.Press YES.
    b) if i want to remove entire transport request,Plese tell how to remove the transport
    Then remove all objects from the TR and Delete the TR.
    Please reward points if it helps.
    Vasanth

  • How to remove the open applications from right side of the dock?

    How do I remove the open apps from the right of the line on the dock? They are by the Trash. I will attach an image. I don't want them to show up over there when I have an app open.

    In previous versions of Mac OS X, any window containing an open application that was reduced in size was put in the Dock and looked like those in the image. So if you reduced any open page while in an application, that would be as you see, there. Or if you chose to 'hide' an open application it'd go there.
    You should be able to click once on each of those and have the full page restored in the screen. If there is anything on those pages you want to save, do so and the file would be saved in your Documents or other folder of your choosing.
    Good luck & happy computing!

  • How to remove the question mark from the dock

    How do I remove the question mark from the dock.  Nothing I tried works.

    What have you tried?
    What happens when you click on it?  Does a menu appear?
    Would you provide a screen shot (SHIFT COMMAND 4).
    Ciao.

  • How to remove the EDIT button from Overview Page

    Hi,
    I have a overview page for Service Request(SRQM_INCIDENT_H - component). Now, I want to remove the EDIT button from the overview page and want to place it for each assignment block.
    I have seen the there is concept calles VIEW_GROUP_CONTEXT. However, I am not sure how exactly I need to apply that and what code and where I need to write.
    Please help me.
    Thanks,
    Sandeep

    Hello Sandeep,
    we removed in our system a lot of the standard buttons in this overview page like this:
    METHOD in IMPL-Class: IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS
    Coding example:
    CALL METHOD super->if_bsp_wd_toolbar_callback~get_buttons
        RECEIVING
          rt_buttons = lt_buttons.
      CLEAR rt_buttons.
    * Alle Buttons außer die genannten werden an RT_Buttons angehängt und damit angezeigt.
      LOOP AT lt_buttons INTO wa_buttons.
        CASE wa_buttons-on_click.
          WHEN 'NEW_FROM_TEMPLATE' OR 'DIV_CREATE_COPY' OR 'AUTO_COMPLETE' OR 'AUTO_SUGGEST_PROBLEM'
                OR 'AUTO_SREACH_KNOWART' OR 'SENDEMAIL' OR 'PRINT_PREVIEW' OR 'OUTPUT' OR 'DISPLAY_OBJ_REL' .
    *     Do nothing
          WHEN OTHERS.
            APPEND wa_buttons TO rt_buttons.
        ENDCASE.
      ENDLOOP.
    Kind regards
    Manfred

  • How to remove the first number from a queue?

    Hi,
    I am trying to implement the following code for a queue. I've made an attempt on the RemoveFromQueue method, but it doesn't seem to work. How would i correctly be able the method for it to be able to remove the first number from the queue? thanks.
      if (q.QueueIsEmpty())
            System.out.println("Queue empty");
      else
             int firstEntry = q.RemoveFromQueue();     
                  System.out.println("Integer extracted  : "  + firstEntry);
    int RemoveFromQueue ()
             if (QueueIsEmpty())
                   return false;
             else
                  for(i=1; i <= total; i++)
                        Queue[i-1] = Queue;
                         total--;
                         return -1;
    }

    int RemoveFromQueue ()
    if (QueueIsEmpty())
    return false;
         else
         for(i=1; i <= total; i++)
         Queue[i-1] = Queue;
         total--;
         return -1;
    }Here we go:
    1) if the queue is empty you attempt to return 'false' while the method itself is
    supposed to return an int.
    2) you attempt to assign an entire queue to a single queue element.
    3) your indentation is a mess.
    4) why do you test for an empty queue outside of that method?
    5) use pencil and paper and scribble down exactly what you want to do.
    6) don't use initial uppercase letters for method names.
    kind regards,
    Jos

Maybe you are looking for

  • File location and name

    If I use iPhoto to import files from my camera where are the files actually stored and how do I change the actual file name? I have figured out how to change the picture title but it does not change the file name. If I use iPhoto to import pictures f

  • Create Fault Web Service

    How to create Fault in web service,if there will called the fault web service in JAVA(Netbeans).Because in java exception is nullpointed,not specific exception from bussiness fault.... thanks.

  • Pivot prompt OBIEE 11.1.1.6 not working in firefox

    Dear Gurus, I use mozilla firefox 16.0.2 and run obiee 11.1.1.6. When I run report, I found the pivot prompt didn't work (Can't drop down). But the report and pivot work well in Google Chrome & IE. Is there any pacth for this? Regards JOE

  • Negative coordinates

    I am building an application. I use a Map of Holland and want the center of Holland to have the coordinates 0.0 and the upper left corner -x,-y. x and y are variables for the coordinates. Can plz somebody help me ????

  • User Agent Stylesheet

    Hello, I am having a problem with Safari 5.0.1/Chrome 5.0.3 where the following automagicaly generated style: display: table-row-group; is being applied to an automatically generated <tbody> tag. The above CSS is causing my table to truncate and wrap