How do I remove spaces or special characters within a cell for large amounts of data

Is there any shortcut to remove spaces between words and numbers within a cell?
Example:
Current: .5 lt PET (6)
Need: .5ltPET(6)
Is there any shortcut to remove special characters between numbers within a cell?
Example:
Current: 0--000--000--0
Need: 00000000

Thanks Wayne.
I have been away from using Numbers or Excel for 4-5 years so it is slowly coming back to me. I am get that I need to use the SUBSTITUTE function however I am having trouble with getting it to work.
My Data
ST PAULI 12/12 NR
$27.16
12oz NR(12)
0--80660--95937--5
ST PAULI 4/6/12 NR
$28.76
12oz NR(6)
0--80660--95935--1
ST PAULI DK 12/12 NR
$0.00
12oz NR(12)
0--000--000--0
ST PAULI DK 4/6/12 NR
$28.76
12oz NR(6)
0--80660--95945--0
ST PAULI N/A 4/6/12 NR
$20.66
12oz NR(6)
0--80660--95955--9
CAYMAN JACK 4/6/12 NR
$29.12
12oz NR(6)
8--15829--01006--8
CAYMAN JACK 8OZ/12PK CAN
$23.18
8oz CAN(12)
8--15829--01061--7
TGIF LIIT 10OZ FROZEN POUCH
$35.80
10oz POUCH(24)
8--15829--01043--3
TGIF MARGARITA 10OZ FROZEN POUCH
$35.80
10oz POUCH(24)
8--15829--01047--1
TGIF PINA COLADA 10OZ FROZEN POUCH
$35.80
10oz POUCH(24)
8--15829--01045--7
TGIF STRAWBERRY 10OZ FROZEN POUCH
$35.80
10oz POUCH(24)
8--15829--01042--6
BALLAST PT BIG EYE IPA 1/2 BBL
$190.00
KEG 1984oz (1/2 KEG)
0--000--000--0
BALLAST PT BIG EYE IPA 1/6 BBL
$73.00
KEG 660.1oz (1/6 KEG)
0--000--000--0
BALLAST PT BIG EYE IPA 4/6/12 CAN
$33.00
12oz CAN(6)
6--72438--00052--7
There are many more but this is enough to show you. I need to remove all spaces from the First and Third Columns. I need to remove all (--) from the fourth. Where do I put in the substitute function and what is source sting, existing-string, new-string, and occurrence.
Thank You for your help.

Similar Messages

  • How do I remove spaces and special characters from the file name during rendering?

    I understand that I can set LR_renamingTokensOn to true, but I would like to replace all spaces in the file name with an underscore and remove characters not in the range A-Z and 0-9. What's the easiest way to achieve this?

    local photo = catalog:getTargetPhoto()
    local sesn = LrExportSession {
        photosToExport = { photo },
        exportSettings = {
            -- ... (determine from export preset) - whatev you want, just be sure you set export directory: LR_export_destinationPathPrefix
            LR_tokens = "{{custom_token}}",
            LR_tokenCustomString = LrPathUtils.removeExtension( photo:getFormattedMetadata( 'fileName' ) ):gsub( "[ %c]", "" ) -- remove spaces and control characters
    sesn:doExportOnNewTask()

  • Remove spaces and special characters from a form field

    Hi,
    I am tragically new to all of this, but am trying to create a form in Adobe Acrobat 9.  I am trying to use a Custom Format script to take inputs in a form field and automatically remove spaces and special characters (hyphens specifically).  For example, if a user inputs "RAN-99 06" I would like it to change to "RAN9906."  I found this script that will not let users input special characters
    if (!event.willCommit) {
        event.change = event.change.replace(/[\$#~%\*\*\^\-\(\)\+=\[\]\{\};\"\<\>\?\|\\\!]/g, "");
    And that's okay, but I can't figure out how to disallow spaces.  Also, the perference would be for a script to allow users to input the data as they like, but to clean it up after they leave the text field.
    Thanks in advance!

    From the description, I assume that the script is currently in the Keystroke event. In fact, that would be a most logical way to have it; simply ignore anything unwanted when entered.
    If you want to allow the user to enter anything, but "clean it up" when done, you would place your code in the Validate event. You will have to adjust your Regular Expression so that it works globally, but that's the whole difference. This will change the value.
    Note that you can also enter the code into the Format event. However, that would only change the visual representation of the value, but internally, the value would remain as entered.
    Hope this can help.
    Max Wyss.

  • Remove all the special characters using java.util.regex

    Hi,
    How to remove the all the special characters in a String[] using regex, i have the following:-
    public class RegExpTest {
         private static String removeSplCharactersForNumber(String[] number) {
              String number= null;
              Matcher m = null;
                   Pattern p = Pattern.compile("\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\_\\+\\-\\{\\}\\|\\;\\\\\\'////\\,\\.\\?\\<\\>\\[\\]");
                   for (int i = 0; i < number.length; i++) {
                   m = p.matcher(number);
                   if (m.find()) {
                        number= m.replaceAll("");
                   System.out.println("Final Number is:::"+number);
                   return number;
              public static void main(String args[]){
                   String[] str = {"raghav!@#$%^&*()_+"};
                   RegExpTest regExpTest = new RegExpTest();
                   regExpTest.removeSplCharactersForNumber(str);
    This code is not working and m.find() is "false", here i want the output to be raghav for the entered string array, not only that it should remove all the special characters for a entered string[]. Is there a simple way to do this to remove all the special characters for a given string[]? More importantly the "spaces" (treated as a spl. character), should be removed as well. Please do provide a solution to this.
    Thanks

    You don't need the find(). Just use the replaceAll() on each element of the String[] i.e.
    String[] values = ...
    for (int i = 0; i < values.length; i++)
        values[i] = p.matcher(values).replaceAll("");
    }I can't understand your regex since the forum software has mangled it but you just need to add a space to the set of chars to remove. When you post code, surround it with CODE tags then the forum software won't mangle it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do you turn off the special characters for letters?

    How do you turn off the special characters for letters? Where you hold down the key and it comes up with variations of the letter. For example ï í î ò œ å ß ł û
    It is very annoying when I try to play any online games. Thanks for the help

    Thank you so much It worked Thank you

  • HT201364 how do i remove space from my start up disk

    How do i remove space from my start up disk?

    Do you mean "make" space on your HD?
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Is it possible to search for strings containing spaces and special characters?

    In our RoboHelp project, there are figures with text labels such as Figure 1, Figure 3-2, etc.
    When I search for "Figure 3" I get all pages containing "Figure" and "3", even if I surround it in quotes.  Similarly, searching for "3-2" treats the '-' character as a space and searches for all pages containing '3' or '2'.
    Is there a way to search for strings containing spaces and special characters?

    In that case I think the answer is no if you are using the standard search engine. However I believe that Zoom Search does allow this type of searching. Check out this link for further information.
    http://www.grainge.org/pages/authoring/zoomsearch/zoomsearch.htm
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • How can I  remove my credit card from the automatic billing for my account?

    How can I remove my credit card from the automatic billing for my account?

    The following has instructions for changing iTunes payment method: http://support.apple.com/kb/ht1918

  • How can I remove the background sound from the headphone jack for my MacBoo

    for my MacBook Air problem adding music intensifier (Panasonic ST-HT1000) to give it an unpleasant sound background that sounds like a whiz, it's not so loud, but it is an unpleasant .. after a short time can get used to, but the fizz does not pass, however, believe that it is a big problem.
    Further I notice that when MacBookAir disconnected from the charger, it remains quieter sound.
    At first thought that the headphone jack (3.5 mm Headphone:
    Connection: 1/8-Inch Jack) or wiere have problem, but tried 3 different cables, but that does change enything, the problem remains.
    When I added iPhonu3GS playing - the background sound were not, then everything is OK!
    How can I remove the background sound from the headphone jack for my MacBook Air 13?

    There is no way to bring that up unless you have it typed in a document. You can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    http://support.apple.com/kb/HT2526?viewlocale=en_US 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD  240G Vertex 3 SSD Boot HD 

  • Special Characters within Email Addresses

    I am trying to send e-mails via JavaMail that contain French characters. I have no problem setting the subject and body as ISO-8859-1 compliant.
    However, there are several e-mails in the distribution list that contain special characters within the actual email (i.e. test@t�st.com). When I try to send it, I get the following error:
    javax.mail.SendFailedException: Sending failed;
      nested exception is:
            javax.mail.SendFailedException: Message partially delivered;
      nested exception is:
            javax.mail.SendFailedException: 501 badly formatted RCPT TO user <test@9
      nested exception is:
            javax.mail.SendFailedException: 501 badly formatted RCPT TO user <test@9
            at javax.mail.Transport.send0(Transport.java:219)Are there ways around this or could this be a limitation of my smtp server? If you anyone can share some info or point me towards the appropriate resources, it will be very much appreciated.
    Thanks.

    I'm pretty sure you can't put special characters in a domain name (i.e t�st.com). However, that begs the question of whether it is valid in the user name portion of the email address (i.e. t�[email protected]). I don't know for sure.
    Maybe URL encoding or Mime encoding may do something, but this is just a guess.

  • I have created a book in ibooks author with a custom font when previewing on the ipad the special characters within the font do not appear?

    I have created a book in ibooks author with a custom font when previewing on the ipad the special characters within the font do not appear?

    'custom' font sounds like you may be working with a font that is unsupported on iOS/iPad.
    Supported fonts are found in the pull-down font menu in the toolbar. Authors are obligated (mostly) to stick to that list.

  • Advice needed on how to keep large amounts of data

    Hi guys,
    Im not sure whats the best way is to make large amounts of data available to my android  app on the local device.
    For example records of food ingredients, in the 100's?
    I have read and successfully created .db's using this tutorial.
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7d49. html
    However to populate the database I use flash? So this kind of defeats the purpose of it. No point in me shifting a massive array of data from flash to a sql database, when I could access the data direct from the as3 array?
    So maybe I could create the .db with an external program? but then how would I include that .db in the apk file and then deploy it to users android device.
    Or maybe I create a as3 class with an xml object init and use that as a means of data storage?
    Any advice would be appreciated

    You can use any means you like to populate your SQLite database, including using external programs, (temporarily) embedding a text file with SQL statements, executing some SQL from AS3 code etc etc.
    Once you have populated your db, deploy it with your project:
    http://chrisgriffith.wordpress.com/2011/01/11/understanding-bundled-sqlite-databases-in-ai r-for-mobile/
    Cheers, - Jon -

  • With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?

    With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?
    For example, in Notes, I have written three notes; however if I click on 'All On My Mac' on the side bar, I see about 10 different versions of each note I make, it saves a version every time I add or delete a sentence.
    I also noticed, that when I write an email, Mail saves about 10 or more draft versions before the final is sent.
    I understand that all this journaling provides a level of security, and prevents data lost; but I was wondering, is there a function to clean up journal logs once in a while?
    Thanks
    Roz

    Are you using Microsoft word?  Microsoft thinks the users are idiots. They put up a lot of pointless messages that annoy & worry users.  I have seen this message from Microsoft word.  It's annoying.
    As BDaqua points out...
    When you copy information via edit > copy,  command + c, edit > cut, or command +x, you place the information on the clipboard. When you paste information, edit > paste or command + v, you copy information from the clipboard to your data file.
    If you edit > cut or command + x and you do not paste the information and you quite Word, you could be loosing information.  Microsoft is very worried about this. When you quite Word, Microsoft checks if there is information on the clipboard & if so, Microsoft puts out this message.
    You should be saving your work more than once a day. I'd save every 5 minutes.  command + s does a save.
    Robert

  • How do I pause an iCloud restore for app with large amounts of data?

    I am using an iPhone app which is holding 10 Gb of data (media files) .
    Unfortunately, although all data was backed up, my iPhone 4 was faulty and needed to be replaced with a new handset. On restore, the 10Gb of data takes a very long time to restore over wi-fi. If interrupted (I reached the halfway point during the night) to go to work or take the dog for a walk, I end up of course on 3G for a short period of time.
    Next time I am in a wi-fi zone the app is restoring again right from the beginning
    How does anyone restore an app with large amounts of data or pause a restore?

    You can use classifications but there is no auto feature to archive like that on web apps.
    In terms of the blog, Like I have said to everyone that has posted about blog preview images:
    http://www.prettypollution.com.au/business-catalyst-blog
    Just one example of an image at the start of the blog post rendering out, not hard at all.

  • How i will connect my i pad to my personal laptop for syncing my own data?

    how i will connect my i pad to my personal laptop for syncing my own data?

    Sync iPad with computer
    Each time you sync, your content updates between your iOS device and computer to show new, updated, or deleted content. You can change your sync options at any time.
    Syncing with iTune
    http://support.apple.com/kb/HT1386

Maybe you are looking for