How do I remove a number sequence using batch rename

Hi
I know I've done this in the past but cannot seem to work it out today.
I have a series of images "_####_[layercompName].png".  I would like to remove the underscores and numbers.  The underscores removal is easy, but how do I remove the numbers (####) when they are different for each filename?  I would like the end result to be [layercompName].png
The reason I have these filenames in the first place is that I have run the photoshop script "layer comps to files", and this adds a number sequence prefix.  I have tried to alter the script following various instructions I've found from trawling the internet (this one included How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.) but without any luck.  So now I'm resorting to batch renaming in Bridge.
Thanks!

Here you go, taken straight from: DesignEasy: How to Remove Sequence Numbers and Empty Spaces When Exporting Layers and Layer Comps
Run Adobe Bridge and navigate to the folder with exported files.
Select all files which have sequence numbers.
Go to Tools > Batch Rename.
Choose: String Substitution from the first drop-down list in New Filenamessection. From the second drop-down choose: Original Filename. In the Find: text field type: _\d{4}_ (underscore, backslash, letter d, open bracket, number four, closed bracket, underscore). Leave Replace with: text field blank. Ensure that you have Replace All and Use Regular Expression checked as shown on the screenshot below.
Click on the Preview button in the top right corner and ensure that files will be renamed as you want.
Click on Rename button and you are done.
In case you are first time doing this and you still have doubts if everything will work as expected, check Copy to other folder option when renaming files. This option is located near the top left corner under: Destination Folder.
Another thing I want to mention is to remove everything that you have below String Substitution options. In case you see additional renaming options just click on minus (-) sign on the right side to remove them.
How to remove/substitute empty spaces in the file name using Adobe Bridge
It is pretty similar process. The only difference is that you should type: \s (backslash followed with letter s) in the Find: text field. You can leave Replace with: text field blank or to type underscore.

Similar Messages

  • How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.

    Hi
    I remember in CS5 there was a script you could change, but I can't remember what it was called or where it was saved.  Can anyone help please?
    I would like to stop Photoshop automatically adding a number prefix to exported layer comps.
    Thanks

    So I've found a bit in the script that I think might be it (below).  Can I remove that whole bit?  Or would changing the 4 to a 0 do the trick (I tried and it didn't do anything)... Sorry, but I'm not a coder so don't really know if I'm barking up the wrong tree or not.
    Thanks
    for ( compsIndex = 0; compsIndex < compsCount; compsIndex++ ) {
                    var compRef = docRef.layerComps[ compsIndex ];
                    if (exportInfo.selectionOnly && !compRef.selected) continue; // selected only
                    compRef.apply();
                    var duppedDocument = app.activeDocument.duplicate();
                    var fileNameBody = exportInfo.fileNamePrefix;
                    fileNameBody += "_" + zeroSuppress(compsIndex, 4);
                    fileNameBody += "_" + compRef.name;
                    if (null != compRef.comment)    fileNameBody += "_" + compRef.comment;
                    fileNameBody = fileNameBody.replace(/[:\/\\*\?\"\<\>\|\\\r\\\n]/g, "_");  // '/\:*?"<>|\r\n' -> '_'
                    if (fileNameBody.length > 120) fileNameBody = fileNameBody.substring(0,120);
                    saveFile(duppedDocument, fileNameBody, exportInfo);
                    duppedDocument.close(SaveOptions.DONOTSAVECHANGES);

  • TS1702 how can I remove large number of photos on my iPhone 4s from iTunes using a PC - Lenovo Think Pad - so that I can reduce the space used on the phone by 50%?

    how can I remove large number of photos on my iPhone 4s from iTunes using a PC - Lenovo Think Pad - so that I can reduce the space used on the phone by 50%?

    You don't need iTunes for that. Simply connect the iPhone to the PC where it will be recognized as a camera. You can then select the photos you wish to transfer, transfer them, and delete them.

  • HT5538 i activated my brothers iphone under my apple id now all his imessages come to my phone aswell how do i remove his number from my apple id

    i activated my brothers iphone under my apple id now all his imessages come to my phone aswell how do i remove his number from my apple id

    Ummm...Read the article you linked here from that's listed above.
    Search before posting. Your question has been asked and answered dozens of times

  • How can we remove a specific hyperlink using Acrobat X Pro ?

    How can we remove a specific hyperlink using Acrobat X Pro ?

    If the link is a real annotation in the file, just switch to the link tool in Acrobat, select it and press Delete.
    The Acrobat Family will, by default, scan all the text in a PDF file and temporarily make any URL or email address into a hotlink. You cannot stop that from happening as it's a preference on the client side; the only solution would be to break the pattern by adding a hairline space next to the colon or the @ symbol.

  • Teach me how to create the opening "hallway" sequence using Adobe After Effects

    I need to create a memorial video for a loved one that passed away. Can someone teach me how to create the opening "hallway" sequence using AE? here is the video from youtube: https://www.youtube.com/watch?v=4191kcW07f0 . Thanks

    I'll give a very brief overview but, presuming that you are new to After Effects, understanding and executing on this overview will require learning the basics of After Effects.
    You'll be creating a 3D scene based on a few 3D layers: one each for the floor and each wall. Each of those 3D layers will be a precomposition layer; the wall layer with the pictures will be based on a precomposition in which you have placed your pictures as individual layers. You will create some 3D lights shining down from above. You'll create a 3D camera that you will then animate to move down the hallway.
    As I said, that is a very brief overview. Understanding each of those pieces will require some learning. After Effects is not a simple application, so you do need to be prepared to put in some learning time if you are going to do this yourself. Here is the place to start: http://adobe.ly/AE_basics
    All that said, I would recommend that you hire someone to do this for you. Learning a new and complex creative application under the time pressure (and other pressure) that you are under may be too much to ask.

  • When I go to write a contacts name in my message box an old number which is not in my contact list comes up. How can i remove the number?

    When I go to write a contacts name in my message box an old number which is not in my contact list comes up. How can i remove the number?
    please can some one help

    The ONLY way to remove this data from your phone, is to restore your phone as a new device in iTunes, NOT from backup. You either do that, or you live with it. Currently, there is no way to edit this data on any iPhone.

  • How do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif

    how do i remove a old never used icloud account from my iphone that has never been vif, how do i remove a old never used icloud account from my iphone that has never been vif and the email is not used

    Hi BJEast,
    If you are having issues changing or removing an old iCloud account from your device, you may find the following article helpful:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/ts3988
    Regards,
    - Brenden

  • Can't Use Batch Rename "Rename In Same Folder" for some photos

    Have a strange problem: when using "Batch Rename…" under the "Tools" menu, "Rename In Same Folder" is unusable for some photos taken with some cameras, not for others. For one example, I shift-selected a range of photos taken at a recent vacation, some with my iPhone, some with my girlfriend's Canon PowerShot SD450. Bridge renamed the iPhone photos, but not Canon photos. For another example, if I select a single photo taken by her cell phone or Canon camera, "Rename In Same Folder" is grayed-out; if I select a single photo taken my by iPhone, not so. Does anyone understand this behavior, and is there a solution?

    Bridge Support Center in the help menu leads to a 404 error page.
    Sadly enough this is also on my system (Mac OSX 10.6.8) It should not be showing 404 but it is there...
    What Bridge help files and links, forums, communities, google searches do not do is tell you how to fix what happens with the problem
    In general restarting Bridge holding down option key (in your case alt key) to choose reset preferences solves most problems.
    Here is a page from Adobe Support about Troubleshooting (although this states you should combine option/alt with cmd/ctrl but that is not needed)
    http://kb2.adobe.com/cps/317/317912.html
    I want to use Bridge batch rename to change jpegs into Mac PC compatible jpegs.
    Although I have the option for compatibility with Unix and Windows checked in my customized presets I'm not really aware of the need for that. If you have a .JPG or .jpg extension as the extension a Mac reeds and opens the file without problems. I am aware that as a Mac user I had the need to take care of Windows files in the past. Before OSX a Mac did not need an extension to recognize and open a file. Since OSX is Unix based the need to use an extension is there and also you should only use one dot (.) in the filename and that is before the extension at the end of the filename. Using spaces, commas etc is possible but not prefered. In basic, keep it simple (and short) and the file will open on all systems without problems.
    When you select a preset, the rename and preview buttons grey out. So I start all over...clear cache, check file permissions, restart/shutdown, etc
    That should not happen, presets and batch rename should be always available, even if you have only one file selected. You should start with the refreshing of the preferences. Deleting caches and checking file permissions are not needed every time for clearing prefs (although it is wise to maintain your system on a regular basis, but that is good for the use of all apps).
    On a Mac the user defined Batch Rename settings are saved in the user library / application support / Adobe/ Bridge CS5 / Batch rename setting. (not a single clue how that translate to windows but I have no reason to believe that such a file should not be present on your system.)
    Enter the term "batch rename" in the windows Bridge forum search and I got....ZERO results.
    Well, again a disappointment, there will be many result available in both Windows and Mac forum but it sure is not easy to find them
    The forum search option is next to useless. I believe you should try to switch to the main forum page or something, I once had a result but after so many tries I forgot how I managed this (combined with getting angrier every try...)
    I could really use some help because there is no way I can convert the number of files I have to make them compatible in MACs
    As stated before, if the are .jpg they are already compatible
    it used to be in CS 3 and 4 but since I "upgraded" to Production Premium suite 5.5 none of the version work.
    If you keep having problems you might consider the clean tool option to clear PSCS 3 and 4. Check also this KB article:
    http://www.adobe.com/support/contact/cscleanertool.html
    It should be possible to use all CS versions on your system but you can have only one version of Bridge active at the time. Upgrading from a single CS to a Suite should also be possible without problems but sadly enough everything that should be possible without problems is often only happening in the ideal world...

  • How do i remove airplay icon while using screensaver

    How do I remove airplay icon from screen while using screensaver photos?

    You enter autoscrolling if you middle click with the mouse wheel on a web page.
    You can disable this feature here:
    *Tools > Options > Advanced > General: Browsing: "Use autoscrolling"
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel

  • How do I remove a number off my cloud?

    Need to remove a number from my cloud

    Welcome to the Apple Community.
    What sort of number and where from in iCloud exactly.

  • On CS5, how can I recover jpeg images that were Batch Renamed prior to removal from my flashcard?

    On CS5, how can you recover JPEG images that were accidentally Batch Renamed prior to removal from a flash card? Is it a total lose or can they be saved somehow?

    If they were renamed on the flash card that is a poor practice.  If renamed in Bridge the old names can be recovered it you have checked "preserve original name in XMP".  If not you are out of luck.  But you still have the images correct?

  • How to update bulk no of records using  Batch Update

    i am trying to insert and update records into multiple tables using Statement addBatch() and executeBatch() method. But some times it is not executing properly. some tables records are inserting and some tables it is not inserting. But I want all the records need to excute and commit or if any error is there then all records need to rollback.
    This is the code i am using.
    public String addBatchQueryWithDB(StringBuffer quries, Connection conNew,Statement stmtNew) throws Exception {
    String success="0";
    try {         
    conNew.setAutoCommit(false);
    String[] splitquery=quries.toString().trim().replace("||","##").split("\\|");
    for(int i=0;i<splitquery.length;i++) {
    //System.out.println("query.."+i+".."+splitquery.trim().replace("##","||"));
    stmtNew.addBatch(splitquery[i].trim().replace("##","||"));
    int[] updCnt = stmtNew.executeBatch();
    for(int k=0;k<updCnt.length;k++){
    int test=updCnt[k];
    if(test>=0){
    success=String.valueOf(Integer.parseInt(success)+1);
    // System.out.println(".updCnt..."+updCnt[k]);
    System.out.println("success...length.."+success);
    if(updCnt.length==Integer.parseInt(success)){
    success="1";
    //conNew.commit();
    } catch (BatchUpdateException be) {
    //handle batch update exception
    int[] counts = be.getUpdateCounts();
    for (int i=0; i<counts.length; i++) {
    System.out.println("DB::addBatchQuery:Statement["+i+"] :"+counts[i]);
    success="0";
    conNew.rollback();
    throw new Exception(be.getMessage());
    } catch (SQLException ee) {
    success="0";
    System.out.println("DB::addBatchQuery:SQLExc:"+ee);
    conNew.rollback();
    throw new Exception(ee.getMessage());
    } catch (Exception ee) {
    success="0";
    System.out.println("DB::addBatchQuery:Exc:"+ee);
    conNew.rollback();
    throw new Exception(ee.getMessage());
    }finally {
    // determine operation result
    if(success!=null && success.equalsIgnoreCase("1")){
    System.out.println("commiting......");
    conNew.commit();
    }else{
    System.out.println("rolling back......");
    success="0";
    conNew.rollback();
    conNew.setAutoCommit(true);
    return success;
    }

    Koteshwar wrote:
    Thank you for ur reply,
    I am using single connection only, but different schemas. Then I am passing a Stringbuffer to a method, and First iam setting con.setAutoCommit(false); and then in that method i am splitting my queries in stringbuffer and adding it to stmt.addBatch(). After that I am executing the batch.after executing the batch i am commiting the connectionIf I am reading that right then you should stop using Batch.
    The intent of Batch is that you have one statement and you are going to be using it over and over again with different data.

  • HT1495 I am using imessage on my phone but i dont want them to appear on my ipad how do i remove the number from my ipad for messages

    Hi i am using an iphone with imessage but I dont want to use that number on my ipad for imessage or facetime can I change this ??

    Use a free gmail.com address on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htmhttp://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.htmlhttp://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetimehttp://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.htmlhttp://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.htmlhttp://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-textinghttp://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • TS4268 My sister used my apple id on her iPhone and now her number is in my imessages and now i am recieving her messages. How do i remove her number out of my imessage settings???

    My sister used my apple id on her iphone and now her number is attached to my facetime and i message. How do i delete this as i am getting al her messages

    Thanks - but it is not that simple. the sim cards are in the right phones. my phone recieves calls most of the time, but if it not available then my wife's phone picks it up. we have turned off blue tooth and hot spots and turned phones on and off and this seems to temporarially solve the issue, but then it reoccurs.  it did not happen immediately after her sim card  was in my phone - it is more recent.  we do not have call divert on.  it is just odd.

Maybe you are looking for

  • Unable to find the sms messaging api

    I've downloaded the sun wireless toolkit 2.3 but when the complier hits the line import javax.wireless.messaging.*; I get an error message: package javax.wireless.messaging does not exist has anyone seen this before? can someone suggest how to fix th

  • SetEditable(false)

    Hai.. I have a TextField called tf1 based on the setEditable(false) method i have to do some code like this Is it possible to do like this ? or is there any other option to validate like this I am new to java please help me. Thanks in advance Yours R

  • Update 11.3 installation not working.

    i am trying to download version 11.3.0 because without it i cannot connect my iphone to itunes. so i go to www.itunes.com and download. it runs then i click install, this is where the problem is. so it starts downloading but with no progress. on the

  • How to easily remove unneccessary files?

    I use a lot of scratch and test tracks. For every one track I lay down there's probably five I used and removed from the multitrack. Now my hard drive is starting to fill up with all these unnecessary tracks. Is there some easy way to remove the unne

  • Exception when refactoring a file

    G'day I just tried to use CFB's refactoring to rename one of my CFCs.  The only place the CFC was referenced in my project was in its own init() method (as the returntype).  The refactoring system correctly identified this. When I ran the refactoring