InDesign GREP - add without changing character

I have a string of characters, say the alphabet. How can I add a character after each letter without changing the letter.

That is, if I want to become a1 b1 c1 21 d1 e1 f1 g1 h1 abcdefgh

Thank you very much in advance!

Hello

Check the screenshot below:

Concerning

Siraj

Tags: InDesign

Similar Questions

  • GREP query that changes character format

    I am trying to create a GREP query that finds an uppercase K surrounded by parentheses - like this: (K). I was able to do this, while in the GREP find what I \(K\)

    I need to change that to (K) with the letter K, changing to a different font or a character style; the bracket must remain in the same font as before, correspondents in the rest of the paragraph. I see that I can change the format in the dialog GREP, but if I do, it changes the format of the parenthesis as the K. The police that I need to change the K is a police photo.

    If anyone can help with a suggestion on this, I would really appreciate it.

    A small detail, I hope. I left out that the Lookbehind/advanced search functions are functions of Research , does not replace.

    The text to search for in the field of text GREP find, not in the regular discovery. Then, make sure you change for the field is empty - drag your mouse above and if you see something selected, press DELETE. Just because you put something in the change of Format, InDesign knows he should not replace the text with nothing, but apply to the formatting instead.

    It should look like this:

  • Since the update Firefox 6.0, some websites do not load correctly. I suspect it has to do with the Java being disabled because of the compatability modules. When I try to go to Tools/Add-ons, I get the message "Loading" for several minutes without chang

    Update Firefox 6.0 is useless to me because many websites I visit are not displayed properly, I guess because the Java modules are disabled because of incompatibility. They appear correctly in Internet Explorer.

    In addition, the add-on from Trend Micro is not compatible, which leaves me with a positive feeling.

    When I try to check to see if these modules can be updated, the menu item Tools/Addons just goes to a page with "loading" and stays there for several minutes without change until I close it.

    I would like to know the procedure to regularize this version of Firefox to my previous version that worked.

    Firefox 5.0/5.0.1/4.0/4.0.1 and earlier 3.6.20 all contain questions of security and stability that will not be corrected. You put your system at risk by using any version of Firefox that 6.0 or 3.6.20. Any person who displays a link to other versions is to be irresponsible, in my opinion.

    Java

    If the incompatible extensions in Add-ons > Extensions are Java Console, you have no need them unless your doing Java development. Most of the users have not yet installed, but Java will install Java Console with each update. You can delete them manually:

    The only thing that affects the functioning of the sites/Java applets on the web is the plugin (Add-ons - > Plugins) "Java (TM) Platform SE (version)". Do not forget that it is enabled and that you have not all extensions which affect/block "scripts".

    Trend Micro

    You must contact Trend Micro or go to the forums on their website to inquire about their plans to update the add-ons/toolbars they install in Firefox.

    Problem with the display of the Add-ons Manager

    The Add-ons Manager gets in a loop of loading due to the recent update of Firefox 6 and servers being overloaded because users and update process are looking for updates to the add-on. If you stay away from the "Get Add-ons" selection on the left of the screen of the add-on Manager, you should have no problem with that. This situation is expected to resolve when the overload of Firefox 6 update is complete. I do not always use this "Get Add-ons" option, instead, I go to the website of modules and the search for what I want from there: https://addons.mozilla.org/en-US/firefox/search/?q=clone & cat = all & x = 0 & y = 0

  • Some keys on my MacPro keyboard have suddenly changed character. More precisely: move 2 product "instead of @;" Shift 3 product £ instead of a hashtag. and two RBI Maj @. I rebooted and checked the settings keyboard without result.

    Some keys on my MacPro keyboard have suddenly changed character. More precisely: move 2 product "instead of @;" Shift 3 product £ instead of a hashtag. and two RBI Maj @. I rebooted and checked the settings keyboard without result. It worked fine yesterday and has not been moved since then. What should do?

    Check the sources of the system/preferences/keyboard again.  You have active the British PC keyboard.  Remove it and make sure that you have only on the list.

  • Grep to add the tab character after the first character?

    Hello

    GREP assistants are able to help with a question?

    I am trying to add a tab character after the first character in line in a paragraph style. So, for example, I would like to a tab after the I, D, O and N in the following poem...

    Can Wincy spider climbed up the spout
    Down came the rain and swept away the spider
    Is out the Sun and dried up all the rain
    Now can Wincy spider went up the spout again


    Thank you!

    To find

    ^ \w

    Implement

    $0\t

  • InDesign CC fails on the update - issue lasted about 6 weeks - have removed app, without change. Need of difficulty.

    InDesign CC fails on the update - issue lasted about 6 weeks - have removed app, without change.

    The process of update for InDesign is broken.

    Need for this problem.

    Can you please try and uninstall it for uninstall to utilities/Adobe installers/uninstall Adobe InDesign CC.

    And then sign back in Adobe Creative Cloud and redownload InDesign.

    If you are still experiencing a problem, please let me know.

    Kind regards

    Abhishek

  • InDesign GREP CC: Indication am Zeilenanfang erganzen

    Hallo zusammen,

    Wenn ich in Indesign CC mit nach GREP ' ^ ' (naturally ohne Anfuhrungszeichen) suche und als Anderungsausdruck 'blabla' eingebe, würde ich erwarten, dass vor jede Lutherischen der line "blabla" Favorites wird (naturally auch ohne Anfuhrungszeichen). Passiert aber nichts - see Screenshot.

    grep.png

    In meinen Texteditoren works dieser regulare Lutherischen aber in jedem fall. ICH mache was GREP please?

    Danke und Gruss

    Holger

    In InDesign GREP, you find something here to change it.

    trying to find ^.

    Replace by bla $ 0

    This will search the first character to your paragraph and replace it with blah , followed the found character. The net result is that blah is added to the front of the paragraph, and the found character remains.

  • Add the tab character before the content of particular paragraph style

    I have to add the tab character before the content of particular paragraph style

    app.findTextPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyles.item ("IDX2");

    list = app.activeDocument.findText ();

    // 2. For each found the point...

    for (i = 0; i < list.length; i ++)

    {

    App.Select (list [i])

    App.Selection[0].insertionPoints[0].contents="\t".

    }

    But the code above only works in the first instance. But I must add the tab character all the content of the paragraph applied

    How to do this

    Hello

    Another way without GREP...

    var doc = app.activeDocument;
    var myStories=doc.stories;
    var J= myStories.length;
    
    while( J-- ){
        var mStorie = myStories[J];
        var K= mStorie.paragraphs.length
        while( K-- ){
            if  (mStorie.paragraphs[K].appliedParagraphStyle.name == "toto") {
                mStorie.paragraphs[K].contents= "\t" + mStorie.paragraphs[K].contents;
            }
         }
    }
    
  • Need a Grep Expression to change a space between braces.

    Hey all -

    I know that it must be ridiculously simple for someone who knows about Grep.

    I have a string of text between braces, like this:

    {namevalue = 'Firstname Lastname'}

    And I would like to add a special character or a word between the first and last name, so I can make some additional changes to the structure via find/replace.

    So, I would like to change to this example:

    {namevalue = "first name last name$ $$"} or this: {namevalue = "FirstnameKAPOWLastname"} or this: {namevalue = "Firstname12434Lastname"}

    You get the picture. Any help will be greatly appreciated.


    Like this:

    ({"Search: (\{namevalue=".+)? \s(?=.+? "\})

    Replace with: $1 @.

    (/ / start capture)

    \{NameValue=' / / literal {namevalue ="

    .+?                       followed by one or more of any character.

    ) / / end of capture

    \s / /... until the first space...

    (?=.+?" \}) {/ /... but only if followed by some characters ending by}

    It might be simpler-

    Search: (\{namevalue=".+?) \s

    Replace with: $1 @.

    Need coffee.

    Peter

  • Thunderbird freezes, it does not solve thunderfix. MosBackup do not restore or backup, I have deleated several emails without change

    I use Thunderbird for several years with no problems, while I can still receive/send emails, the program freezes. I tried 'Thunderfix' without change, Mozbackup stalls 'calculate the required space', also fails to restore the last backup or previous backups. I have reduced the number of e-mails, including mail, has also increased from 350 MB to 500 MB disk space. I also began with all addons turned off. It freezes again

    Does anyone have suggestions more?

    To diagnose problems with Thunderbird, try one of the following:

    • Restart Thunderbird with disabled modules (Thunderbird Safe Mode). On the Help menu, click "restart with disabled modules. If Thunderbird works as usual, there is an add-on or theme interfere with normal operations. You will need to reactivate the modules one at a time until you locate the offender.
    • Restart the operating system in safe mode with network. This loads only the basics needed to start your computer while allowing Internet access. Click on your operating system for instructions on how to start in safe mode: Windows 8, Windows 7, Windows Vista, Windows XP, OSX
    If the safe mode for the operating system to resolve the problem, there are other software on your computer that is causing problems. The possibilities include but not limited to: AV scanning, virus/malware, background downloads such as updates of the program.
  • without changing the properties of the base image create a substitute image size increase?

    Without changing the properties of the base image, how I create an alternate image effect that increases its size when the cursor hovers over the base image?

    I hope that makes sense!

    RLS

    Simple Image Zoom bootstrap - http://alt-web.com/

    Thumbnail Images


    CSS:

    .zoom { 
      -webkit-transition: all 0.35s ease-in-out;
      -moz-transition: all 0.35s ease-in-out;
      transition: all 0.35s ease-in-out;
      cursor: -webkit-zoom-in; 
      cursor: -moz-zoom-in; 
      cursor: zoom-in;
    }

    .zoom:hover,
    .zoom:active,
    .zoom:focus { 
      /**adjust scale to desired size
      add browser prefixes**/
      -ms-transform: scale(2.5);
      -moz-transform: scale(2.5);
      -webkit-transform: scale(2.5);
      -o-transform: scale(2.5);
      transform: scale(2.5);

    position: relative;
    z-index: 100;
    }

    Nancy O.

  • Clip name without changing the name of the original clip

    Hello

    I am looking for a way to name a clip without changing the name of the original clip.

    For example:

    I have a clip called D066_140825_001_AA1663, I need to keep. But I would add one more name in a different area.

    Ideally it should look like this:

    Name Description
    Erica D066_140825_001_AA1663 moves the couch
    Erica D066_140825_001_AA1664 is conducted

    Erica D066_140825_001_AA1665 and John encounter

    etc.

    I see that in the draft of the first window there is a line named Description. Is there a way for me to add a description of the clip of prelude, or appoint the clips in any other way?

    Hi SMOlsen,

    Please see the link below and check if it helps.

    http://helpx.Adobe.com/prelude/using/prelude-logging-video.html#id_52195

    Kind regards

    Vinay

  • How to change the angle of a gradient layer without changing anything else?

    How to change the angle of a gradient layer without changing anything else?

    When I try it myself my gradient everything turns black.

    To add to the above, you can just set the angle. If you want to use other existing parameters, you need to get from the layer. The code in this other thread shows a way to get them.

    But if you do not have the values for any other reason, you can get the handle to the layer, make a duplicate of it with all the settings and just crush those you want to change.

    It is a way to just change the angle while keeping the other existing settings.

    // helper function for working with descriptors
    function getProperty( psClass, psKey, index ){// integer:Class, integer:key
        var ref = new ActionReference();
        if( psKey != undefined ) ref.putProperty( charIDToTypeID( "Prpr" ), psKey );
        if(index != undefined ){
            ref.putIndex( psClass, index );
        }else{
            ref.putEnumerated( psClass , charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
        }
        try{
            var desc = executeActionGet(ref);
        }catch(e){ return; }// return on error
        if(desc.count == 0) return;// return undefined if property doesn't exists
        var dataType = desc.getType(psKey);
        switch(dataType){// not all types supported - returns undefined if not supported
            case DescValueType.INTEGERTYPE:
                return desc.getInteger(psKey);
                break;
            case DescValueType.ALIASTYPE:
                return desc.getPath(psKey);
                break;
            case DescValueType.BOOLEANTYPE:
                return desc.getBoolean(psKey);
                break;
            case DescValueType.BOOLEANTYPE:
                return desc.getBoolean(psKey);
                break;
            case DescValueType.UNITDOUBLE:
                return desc.getUnitDoubleValue(psKey);
                break;
            case DescValueType.STRINGTYPE:
                return desc.getString(psKey);
                break;
            case  DescValueType.OBJECTTYPE:
                return desc.getObjectValue(psKey);
                break;
            case  DescValueType.LISTTYPE:
                return desc.getList(psKey);
                break;
            case  DescValueType.ENUMERATEDTYPE:
                return desc.getEnumerationValue(psKey);
                break;
        }
    };
    function duplicateDescriptor( descriptor ) {
        var newDescriptor = new ActionDescriptor;
        newDescriptor.fromStream( descriptor.toStream() );
        return newDescriptor;
    };
    function localizeDescriptor( desc ) {
        var stream, pointer, zStringLength, zstring, localized_string, newZStringLength, previousStream, followingStream, newDesc;
        stream = desc.toStream();
        while( true ) {
            pointer = stream.search(/TEXT....\x00\$\x00\$\x00\$/);
            if( pointer === -1 ) {
                break;
            }
            zStringLength = getLongFromStream( stream, pointer + 4 );
            zstring = readUnicode( stream.substr( pointer + 8, ( zStringLength - 1 ) * 2) );
            localized_string = ( localize( zstring ) ) + '\u0000';
            newZStringLength = localized_string.length;
            previousStream = stream.slice( 0, pointer);
            followingStream = stream.slice( pointer + 8 + zStringLength * 2);
            stream = previousStream.concat( 'TEXT', longToString( newZStringLength ), bytesToUnicode( localized_string ), followingStream );
        }
        newDesc = new ActionDescriptor();
        newDesc.fromStream( stream );
        return newDesc;
    };
    function getShortFromStream( stream, pointer ) {
        var hi, low;
        hi = stream.charCodeAt( pointer ) << 8 ;
        low = stream.charCodeAt( pointer + 1 );
        return hi + low;
     };
    function getLongFromStream( stream, pointer ) {
        var hi, low;
        hi = getShortFromStream( stream, pointer) << 16;
        low = getShortFromStream( stream, pointer + 2);
        return hi + low;
    };
    function readUnicode( unicode ) {
        var string = "";
        for( i = pointer = 0; pointer < unicode.length; i = pointer += 2) {
            string +=String.fromCharCode( getShortFromStream( unicode, pointer ) );
        }
        return string;
    };
    function longToString( longInteger ) {
        var string;
        string = String.fromCharCode( longInteger >>> 24 );
        string += String.fromCharCode( longInteger << 8 >>> 24 );
        string += String.fromCharCode( longInteger << 16 >>> 24 );
        string += String.fromCharCode( longInteger << 24 >>> 24 );
        return string;
    };
    function bytesToUnicode( bytes ) {
        var unicode = "", char_code, charIndex;
        for( charIndex  = 0; charIndex < bytes.length; charIndex ++ ) {
            char_code = bytes.charCodeAt( charIndex );
            unicode += String.fromCharCode(char_code >> 8 ) +  String.fromCharCode( char_code & 0xff );
        }
        return unicode;
    };
    
    function setGradientAdjustmentAngle( angle ) {
        var adjustmentDesc = getProperty( charIDToTypeID("Lyr "), charIDToTypeID( 'Adjs' ) ).getObjectValue(0);
        var newAdjustmentDesc = duplicateDescriptor( adjustmentDesc );
        newAdjustmentDesc.putUnitDouble( charIDToTypeID('Angl'), charIDToTypeID('#Ang'), angle );
    
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( stringIDToTypeID('contentLayer'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
        desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('gradientLayer'), newAdjustmentDesc);
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    };
    var newAngle = 45;
    setGradientAdjustmentAngle( newAngle );
    
  • one of the scripts in AppleScript 2 (grep + Add hyperlink)

    Hello.

    I try to combine the two scripts. First digit numbers a greps 7 in indesign

    and another, hyperlink, which is the same numbers as this (grep) selection'

    Does anyone have idea how to do this. Thank you - Jan

    This greps digit number 7 in indesign with this script

    say application "Adobe InDesign CS5.5.

    Activate

    set grep preferences to find

    set grep preferences to change

    set {find what to find grep preferences to '\\d{7'}

    say an active document

    set myFoundItems to find grep

    end say

    end say

    and this one hyperlink:

    say application "Adobe InDesign CS5.5.

    say document 1

    set mySelection to selection

    the value LinkID to content of mySelection as string

    set LinkIDURL to string LinkID

    try

    set URL_L to do destination URL of the hyperlink name:LinkID destination URL:LinkIDURL} {properties

    on error

    set URL_L to the URL of the hyperlink destination LinkID

    end try

    set URL_La to do text of hyperlink source properties {text source: () (point 1 of mySelection), hidden:fake}

    set MonLienHypertexte to do { new hyperlink with properties { }destination:URL_L source:URL_La visible:fake}

    end say

    end say

    end



    YES! I got it with the help of Indesign scripting quide.

    Here's the applescript. Feel free to use if you need. It doesn't work if none of the hyperlinks are not assignet 7-digit, you're grepping with this script

    say application "Adobe InDesign CS5.5.

    activate

    -grep opitonit ettei edelliset resetoi high vaikuta

    the value find grep preferences for Nothing

    the value grep preferences to change anything

    -Asettaa haku in parametrit

    define include hidden layers to find change grep options to false

    define include locked layers to find to find change grep options to true

    -7 number perakkain hakuaehto

    { the value find what to find grep preferences to '\\d{7'}

    say an active document

    -etsii jokaisen sivulla oleva mallikoodin nimen

    the value myFoundItems to find grep

    -ottaa ylos jokaisen mallikoodin numerosarjan

    Repeat with I have from 1 to (count myFoundItems)

    the value Name of the file of content of point i of myFoundItems

    if not (there is the URL of the hyperlink destination FileName) then

    the value The of to make the URL of the hyperlink destination with properties {name: FileName, destination URL: file name}

    on the other

    the value The to the URL of the hyperlink destination FileName

    end if

    -hyperlinkin of lisaa

    the value TheHSName of file name

    the value TheHS to do source hyperlink text with properties {name: TheHSName, text source: (point I of myFoundItems), hidden: false}

    do new hyperlink with properties {destination: the, source: TheHS, visible: false}

    end Repeat

    end say

    end say

  • Adding a preset to a photo already changed without changing the edit

    Can anyone help me please with the addition of a photo already changed without changing preset modify it.  Basically, I will edit a wedding everything and then come back and choose Favorites for my wife and join me the same artistic change above them.  Since they are already all under the leadership of my own beautiful photo, (balance of colors, etsombre, edition for perhaps no ideals during the lighting ceremony) I think that it would be an easy way to add a "Preset" without having to change all my settings, I did so to speed up my process.  I know not if I do my photoshop photos and bring them in lightroom it well enough it switches back to basic, but I'm sure there is an easier way to do it rather than having to open photoshop.  Thanks in advance!

    bedophotonfilms wrote:

    Can anyone help me please with the addition of a photo already changed without changing preset modify it.  Basically, I will edit a wedding everything and then come back and choose Favorites for my wife and join me the same artistic change above them.  Since they are already all under the leadership of my own beautiful photo, (balance of colors, etsombre, edition for perhaps no ideals during the lighting ceremony) I think that it would be an easy way to add a "Preset" without having to change all my settings, I did so to speed up my process.  I know not if I do my photoshop photos and bring them in lightroom it well enough it switches back to basic, but I'm sure there is an easier way to do it rather than having to open photoshop.  Thanks in advance!

    Check that "change artistic" preset only includes the necessary adjustments. If, for example, he

    should add a vignette effect, and then make sure that the preset does not include other settings such as exposure, because that will make the predefined substitution exposure carefully chosen in the beautiful clean version.

Maybe you are looking for

  • The HARD-drive bracket is broken

    The support for my hard drive is broken and I can't find a partnumber. Who can help me?

  • NVIDIA GeForce GT730: NVIDIA GeForce GT730 - can it support 2 monitors if you use a separator?

    Hello I would like to know if my graphics card: NVIDIA GeForce GT730 can support a dispatcher to Carlin an additional monitor (VGA)? Thanks in advance

  • How default my hardrive

    OK my friend and I tried to speed up my pc and free space and its been about 2 weeks we have done something for her and now it says'C:\windows\system32\rstrui.exe '.C:\windows\system32\rstrui.exeThe specific procedure could not be found. "on everythi

  • T232hl

    Hi- I have a T272hl monitor and it works perfectly, has decided to add a T232hl for my system as a second monitor. When I did earlier today, it works and looks great, except when I touch the T232hl, the T272hl not responding T232hl monitor.  It's as

  • HP Pavilion dv4 1425la: password reset BIOS HP Pavilion dv4 1425la

    Hello my laptop is a HP Pavilion dv4 1425la OS is windows 7 the code appeared is: 98498970 I lost the bios password and im desperate, please help