GREP remove return 'soft '.

Hi guys,.

I do not know is sweet returns is the right term in English, but I receive a text with a whole bunch of them. Any quick way to get rid of them with GREP. Here is the sample.

Captura de pantalla 2011-03-17 a las 00.01.27.png

People continue to send me Word files with a behavior annoying even though I have them said not to do so. Takes me ages to remove them manually.

Thanks for any info.

See you soon,.

SEBS

Those who are forced line breaks (they are so called because they force InDesign to exactly the place that of line break, not where he wants to break the line itself). No need for GREP, you can find them with the text to find regularly using the code

^ n

(replace with a space).

People continue to send me Word files with a behavior annoying even though I have them said not to do so.

Yes... We have a quick reference card send us to people with a lot of little things like these - don't use soft returns, not to use text boxes, do not use Word to draw pictures in, don't use no 5 places but use a single tab, do not use tabs and spaces to create tables with.

... Nobody reads ever, it seems.

Tags: InDesign

Similar Questions

  • FrameMaker 2012 or 2015 tab and returns Soft displayed as numbers

    In Framemaker 2012 or 2015, how will we change the tab and returns soft characters is displayed as numbers?

    Thank you
    Rich

    You see these numbers when you have the view > text option enabled symbols, but otherwise the required action (tab or soft return forced) happens?

    If so, then it could be that the fm5font.ttf in your \fminint file is missing or damaged.

  • Cannot remove return address on the envelope.

    I work in Word 2007.  I put a return address in the envelope function to print several envelopes.  Now I can't get out.  The deletion does not work.  I know that I can click on the button "omit", but which must be done every time you print an envelope, and I remember to do it with all the envelopes that I print at work.  How can I get rid of this permannetly?

    Click the Office button, and then click Word Options > Advanced Options .  Scroll down and remove the return address in the address box.  Click OK .

  • InDesign matter IDML and converts return soft-statements

    I'm generating IDML for import into InDesign.

    Returns (13 character, \r or \r\n) before writing the IDML convert all the soft return (character 10 or \n).

    When InDesign opens the IDML, history content hard-returns(\r or \r\n) are converted to soft-returns (\n).

    Why he did this, and how can I do InDesign keep returns?

    Space management IDML is weird to say the least.

    Use of the
    element to specify the paragraph break.

    To find out why it does not, the method the easiest is to export the text corrected from indesign as an IDML and review.

  • Return Soft affecting running headings

    Hello!

    I have a running header that uses my style of my chapter name in my book. In the chapter on the page name, I used a soft return. Now my head running shows that half of the name chapter because I used a sweet return to the title of the page.

    Is there a work around that?

    Thank you!

    Do not break the variables through the lines, and they pick up exactly the text that carries any model is selected, so if you use a gentle back and specify a paragraph style your header text will dare everything beyond the line break (because it cannot wrap the varialbe). You can use two paragraph styles (which differ only by their names, if you wish) and a return with two variables of paragraph style and a space between, or you can use two character styles applied to different lines in a single paragraph with the forced break and two character based on running style with a space between.

    Character styles, if you use this method, should have none of the other that a unique name attribute so that they do not change the formatting. You can apply character styles as styles nested in the paragraph style (a good way to do because her disappear completely when you assign a new paragraph style to the variable text itself, or a table of contents list that uses the paragraph style). The method of character as part of a forced line break style can facilitate you life when it's time to build the table of contents as Chapter heads will use the paragraph only one style alone. However, you will need to use find/replace on the table of contents to replace the spaces forced line breaks.

    To use the nested style approach, you set the formatting that has been done on basis of the paragraph style, then in the section nested styles appy style character 1 to 1 line forced break, no thanks to 1 character and character style 2 through 1 sentence.

  • Pressing the 'Return' soft button quickly

    It looks like a software bug, because I noticed on my Xperia Z3 double kitakat and lollipop and previously on my Z1:

    When you're in any application, and you press the button quickly and repeatedly back soft, it stays on you some of the latest open apps. Sometimes, I do that just to leave the active application, as some applications need to double click on the back button. Other applications such as 'Cards' requires more 2 pressures to quit Navigation.

    That happen all the time, he very probably happen when the device has not restarted for some time and there are a few applications in the menu of the latter.

    Can anyone recreate this bug?

    Yes, I can also recreate it in some menus. For example, if you press it quickly and repeatedly just after you press the red button to hang up a call, you can see.

    This is something that I have forwarded internally, but I don't know if it's something that will change.

  • GREP: search < return > is < break image >

    Hello

    I am trying to write a GREP which finds all statements in a bulleted list, but she also finds (and replaces) my breaks of frame (which moves to my text to the next block of text)

    Those are the same codes (the backslash r)? However, they appear differently in indesign? (see screenshot)

    Is it possible to exclude the framebreaks?

    Screen Shot 2015-10-07 at 14.46.58.png

    Just: ~ b

  • AppleScript shell grep

    Hello

    I don't know a lot about shell grep and need help. I have a file name variable I want grep and return of the variable back to ACE.

    value filename to "I need [remove this bit] .indd by name of file.

    I would like to delete the media including the content and the white space 1 in front of the first slice.

    Something like this model in Javascript.

    \s\[.+\]

    Could someone recommend me a resource for beginners the shell grep.

    Thank you very much.

    GR

    You can try to use sed instead of grep to remove white space leader + media and anything between the two:

    value filename to "I need [remove this bit] .indd by name of file.

    the value newfilename for shell script "echo" & filename & "|" sed 's/ \\[.*\\]//' "

    This is a resource for sed: http://www.grymoire.com/Unix/Sed.htmland one for grep: http://www.grymoire.com/Unix/Grep.html

    and here's a nice regex "cheat sheet": https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/

  • How can I adapt this script GREP to find and replace the current open document?

    // Get the current selection
    var doc   = app.activeDocument;
    var sel   = doc.selection;
    var frame = sel[0];
    
    
    if (!frame || frame.constructor.name !== "TextFrame") {
          var msg = "Please select a text frame containing";
          msg += " the story you wish to format";
          alert(msg);
    } else {
          var story = frame.parentStory;
    
    
          // Reset the Find/Change options
          app.findGrepPreferences = NothingEnum.nothing;
          app.changeGrepPreferences = NothingEnum.nothing;
    
    
          // Remove all soft returns, then replaces all double spaces to single spaces
          app.findGrepPreferences.findWhat = " \s+\n";
          app.changeGrepPreferences.changeTo = " ";
          story.changeGrep();
        
          // Remove all multiple spaces
          app.findGrepPreferences.findWhat = "\s+";
          app.changeGrepPreferences.changeTo = " ";
          story.changeGrep();
    
    
          // Split Listings WITH Images
          app.findGrepPreferences.findWhat = "(\d\d-\d+.*)\t(?!~a)(.*)\t(.*)\r";
          app.changeGrepPreferences.changeTo = "$2\r$1\t$3\r";
          app.changeGrepPreferences.appliedParagraphStyle = "Description";
          story.changeGrep();
        
    //      // Split Listings WITHOUT Images
    //      app.findGrepPreferences.findWhat = "(?<=~a)(.*)\t(.*)\t(.*)\t(.*)\r";
    //      app.changeGrepPreferences.changeTo = "$1 $2\r$3\t$4\r";
    //      app.changeGrepPreferences.appliedParagraphStyle = "Description";
    //      story.changeGrep();
        
          // Format Pricelines
          app.findGrepPreferences.findWhat = "^(\d\d-\d+-\d\t.*)\r";
          app.changeGrepPreferences.changeTo = "$1\r";
          app.findGrepPreferences.appliedParagraphStyle = "Description";
          app.changeGrepPreferences.appliedParagraphStyle = "Priceline";
          story.changeGrep();    
    }
    
    

    Hello

    story.changeGrep ();      ==> This sets a goal of change

    To replace it any doc as target

    doc.changeGrep ();

    and remove part of the code that is cause of selection type do not need you to check

    Jarek

  • GREP search blocks InDesign

    Hello

    I have a script that imports XML and formats. Under formatting, there are many GREP searches which remove space superfluous, feedback and so on.

    One plant particularly InDesign and it's driving me crazy.

    It is supposed to remove redundant returns in a table:

    GREP search returns redundant

    app.findGrepPreferences = app.changeGrepPreferences = null;

    app.findGrepPreferences.appliedParagraphStyle = "ArticleMinister";

    app.findGrepPreferences.findWhat = "\r$";

    app.changeGrepPreferences.changeTo = "";

    app.activeDocument.changeGrep ();

    The problem is there is a XML closing the tag between the carriage return and the end of the para, i.e. data {return} < / closingtag >, but it works very well if the XML for data < / closingtag > {return}.

    Any help would be most appreciated.

    Hmm... I can tell you why it happens, but fixing... HM...

    your search removes not only the '{return}', but also the closing tag, so the becames XML invalid.

    simple correction: change the xml first move all closing tags before the back tank.

    more difficult fix... something like get all XMLElements, check if the last char in xmlContents == '\r', check if she is at the end of the story, remove it.

  • Antivirus soft

    My Acer has been infected by the "Antivirus Soft" malware and I don't know how to remove it.  Help, please.

    Follow the instructions to remove Antivirus Soft:

    http://deletemalware.blogspot.com/2010/01/how-to-remove-antivirus-soft-fake.html

  • Antivirus Soft - alert Windows security

    A malware/scareware program attacked my computer and I can't get rid of it.  He wants me to download a program called antivirus soft, antivirus, which is clearly a scam.

    He's very aggressive messages warning and safety messages come constantly.  I downloaded malwarebytes and spyware doctor, but cannot even open them, it blocks all programs of security to open up, saying they are a threat.

    Please help!

    Hello

    Antivirus soft is a fake antivirus, a scam to get you to pay for it, while it has no advantage at all.

    Remove Antivirus Soft (uninstall Guide)
    http://www.bleepingcomputer.com/virus-removal/remove-antivirus-soft

    It can be made repeatedly in Mode safe - F8 tap that you start, however you must also run them
    the Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software (viruses, Trojans,
    Rootkits, etc.) that has infected your computer despite all the security measures that you have taken (such as
    the anti-virus software, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

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

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

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

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

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

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Add commas to financial numbers using GREP

    Hi all!

    Using InDesign CC for this. This is the type of financial numbers that I do business with - $79605.01 - with more than 4 k that I add commas 1 or 2 according to the number. Final result should look like this - $79,605.01-

    So far, use GREP I in the FIND WHAT box \$[.,\d]+ and he tries to find them.  What am I missing or unable to, is what to put in the CHANGE TO box. I tried to \1$, but it does not work.

    I have need FIND WHAT already because what I have works well. I just need the script so that it will add commas to the appropriate locations. Search Google gave me a lot of answers on how to 'find' the numbers, but missing of course in the Department of "set up".

    No a kind soul help?

    Steph

    Your GREP expression returns the integer, which is not helpful in this case. I'm not all that an expert in complex GREP, but I don't see a way to do this only once with a number of variable length, so if you have cases for 1 and 2 required commas, I think you need two expressions and they need run in the correct order.

    (First of all find \d(?=\d{6}\.\d) and change to $0, which will add the comma to millions, then find \d(?=\d{3}\.\d) and change to $0, to add the comma for thousands. These expressions only work if there is a decimal number

  • IDCS6 MACOSX JS: script of 'remove unused layer' is not from masters of the masters

    Hello everyone.

    I have an old script I've used several times to remove the unused layers. Until today, I thought that worked well:

    var layers = app.documents[0].layers.everyItem().getElements();
    for(var i=layers.length-1;i>=0;i--){
      if(layers[i].pageItems.length==0){
        layers[i].remove();
      }
    }
    

    However, today, I used the script on a document that was a never used layer once on a master page to which other master pages have taken place on the basis. To my surprise, when the script is run, this specific layer has been removed.

    my knowledge of the script is poor, but looking at the script, it seems that the script is looking at all the layers that have something in them and any layer comprising any element should be removed. However, I think that only made pageItems refers to the regular pages or template, not masters BASED ON other masters.

    I think that the problem is similar to another that I had recently where I had a script that has removed the unused masters, but deleted that other masters masters took place on the basis, and I think that the principles are the same. This thread can be found at:

    http://forums.Adobe.com/message/5922004#5922004

    In short, the script that worked there were as follows:

    xUnusedMasters(myDoc);
    
    function xUnusedMasters( docRef ) {
    var mpNames = new Object () ;
    var allPages = docRef.pages ;
    for ( var pIndex = allPages.length - 1 ; pIndex >= 0 ; pIndex-- ) {
    mpNames = addMasterName ( mpNames , allPages[pIndex] ) ;
    }
    
    var allMasterPages = docRef.masterSpreads ;
    for ( var mpIndex = allMasterPages.length - 1 ; mpIndex >= 0 ; mpIndex-- ) {
    if ( ! mpNames[allMasterPages[mpIndex].name] ) {
    allMasterPages[mpIndex].remove() ;
    }
    }
    return ; 
    
    function addMasterName ( MPDB , pageRef ) {
    if ( pageRef == null ) { return MPDB ; }
    if ( pageRef.constructor.name == 'MasterSpread' ) {
    MPDB[pageRef.name] = true ;
    }
    return addMasterName ( MPDB , pageRef.appliedMaster ) ;
    }
    }
    

    is it possible to modify the script above so that instead of remove unused pages of masters, it takes away the layers used in a similar way?

    Thank you very much

    Colly

    Hello

    Maybe a little differently...:

    Array.prototype.filter = function(collection) {
              var k, i, con, ids = collection.everyItem().id;
              con: for (k = ids.length - 1; k >=0; k--)
                        for (i = 0; i < this.length; i++)
                        if (this[i].id == ids[k]) {
                             ids.splice(k, 1);
                             continue con;
                             }
              return ids;     // array with unmatched ids from collection
              }
    
    var
              mL = app.activeDocument.pageItems.everyItem().itemLayer,
              mUnusedLayersID = mL.filter(app.activeDocument.layers),
              len = mUnusedLayersID.length;
    
    while (len-->0)
              app.activeDocument.layers.itemByID(mUnusedLayersID[len]).remove();
    

    mL is a table with a layer of each pageItem;

    filter compared to the collections of doc.layers;

    unmatched ways not so used are deleted.

    Jarek

  • How to remove the ADF LOV error no data input validation validates

    Hi all


    I am developing a custom Application of ADF, in my custom, ADF application as part of the home page, I have a set of ADF LOVs as well as a custom to "Seek" button and the button 'Clear' ADF. the erase button is used before every new search is called. the "Clear" button and search button work properly, except that when the user enter all the values in the LOV text box and then press the Clear button, the LOV throws an exception indicating invalid in LOV data and won't let me delete them until I have explicitly focus the cursor in the LOV and use remove / return back to clear this field If the LOV has valid data and when I click the button clear clears the field as it was planned.

    Please suggest how can I delete the message 'Error in data not valid' in LOV

    Thanks in advance,
    TK

    Hello
    You can try with

    http://download.Oracle.com/docs/CD/E12839_01/apirefs.1111/e12419/tagdoc/af_resetActionListener.html

Maybe you are looking for

  • A replacement battery for the Qosmio F50-111

    Hello, yesterday my F50-111 began to beep for low battery, I checked the adapter cable, it was fine.Now, my battery is empty and I can not start my computer. (the orange led is everything is off...)I'm trying to find a new battery! I can only find th

  • Webcam shows black image.

    Hello, my laptop is HP 6107 TX and I have a built-in webcam, who worked the first days after I bought it, but after that, the webcam screen just shows black. But the strange thing is that if I bring a bright object, such as a phone screen near him, i

  • Contact photos...

    My Exchange Server Contacts sync properly, parasol that demonstrate any of the contacts photos. Does anyone else have this problem?

  • Multimedia players

    Everyone I talk to media players universally despise Windows Media Player. Suggestions for other programs. I need something that is easy and intuitive to my new Fuze 8 gig. I'm new to all this and any help would be appreciated

  • How the requests queued

    Dear experts of tuxedo,a request to a server is maybe waiting in line despite being busy?The reason we are asking is that we (perhaps unfortunately) not a server with a service that has a dependency to another service on the same server (direct or in