Urgent need help with find and change / GREP

I'm working on a manual that contains more than a thousand paintings. I'm not quite familiar with GREP and need help to determine the right to coding/jokers to change the character style to a group of words/numbers on a global basis.

For example, in Chapter 7, a paragraph style is applied to this line of text:

TABLE 7.1: T4, T3, FREE T4 AND FREE T4ED

I need to change "table 7.1:" for a character style and so of suite/so on up to "Table 7,150:"-while leaving the other numbers on the same line unchanged also.»» Is it possible to do without having to manually each table style number?

gd247 wrote:

I'm working on a manual that contains more than a thousand paintings. I'm not quite familiar with GREP and need help to determine the right to coding/jokers to change the character style to a group of words/numbers on a global basis.

For example, in Chapter 7, a paragraph style is applied to this line of text:

TABLE 7.1: T4, T3, FREE T4 AND FREE T4ED

I need to change "table 7.1:" for a character style and so of suite/so on up to "Table 7,150:"-while leaving the other numbers on the same line unchanged also.»» Is it possible to do without having to manually each table style number?

No need for GREP. If "TABLE 7.1:" is text, you can create a nested character style that extends through the colon, in the paragraph style. "

If "TABLE 7.1:" is created by a numbered list of automatic type paragraph style, you can specify a character style named for the part of automatic numbering in the drop-down menu Style of character, in the Style of numbering of the chips section and numbering of the dialog box Options of paragraph style. If the character style does not exist, you can stay in the operation of paragraph options by choosing 'New Style of character' in the menu. After you create the new style, you're back in the process of definition of the paragraph.

HTH

Kind regards

Peter

_______________________

Peter gold

Know-how ProServices

Tags: InDesign

Similar Questions

  • Need help to find and replace grep using Xml tags!

    Hello world

    I have a Textframe with value ($ 00.00) between two xml tags. a tag for "$" and another for a value (00 h 00).

    Now I find these value (00 h 00) and change value (24.10). If I run the script, removing the price tag XML and updated price.

    My expectation is the value of these update without deleting the XML tag.

    Please suggest me where I made the mistake in the code. Please find the code and screenshot for your reference.

    Before running the Script: After running the Script:                                                                                                             

    Screen Shot 2016-09-17 at 5.03.18 pm.pngScreen Shot 2016-09-17 at 5.09.31 pm.png

    Code:

    var flgGREP="[$]\\d+[.]\\d+"
    var Price="$24.10"
    myLine=app.selection[0];
    FindReplaceValue(flgGREP,Price,myLine);
    function FindReplaceValue(findValue,replaceValue,Sapps){
        app.findGrepPreferences = app.changeGrepPreferences = null;  
        app.findGrepPreferences.findWhat = findValue;  
        app.changeGrepPreferences.changeTo = replaceValue;
        Sapps.changeGrep(); 
    }
    

    -yajiv

    This is because the XML (opening and closing of the representations) tag is a special character but a generic.

    So the above grep model fails because you have a text like [TAG] $[TAG] [TAG] 00.00 [TAG] is not picked up by the grep engine.

    However there is not (unless I'm wrong) a metacharacter which could identify the brands of tags. You can do this in text F/R, but of course it is not as smooth as grep.

    Bad news is that these special characters are not saved if you F/R on a labeled content (I mean in the above case).

    Good luck for you is that you seem to know the markupTag that host the price = copy_frame so I'd domething like:

    var root = app.activeDocument.xmlElements[0];
    var copy_frame_tags = root.evaluateXPathExpression (".//copy_frame" );
    var tag;
    
    while ( tag = copy_frame_tags.pop() ) {
         tag.contents=="00.00" && tag.contents="24.10";
    }
    

    HTH

    Loïc

    Ozalto | Productivity-oriented - Loïc Aigon

  • Need help to find and install the game Chess Titans Windows Vista for XP

    Need help to find and install the game Chess Titans Windows Vista for XP

    Hi SBOYDC130guy,

    We will not be able to install titan of failures on windows XP because it is designed for Windows Vista and Windows 7 and it's built-in game.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Need help with sizing and save files in batches

    Hi need help with a project.

    I have thousands of vector files that I need size of 350px X 350px, and then place it on a work plan x 600px-600px.

    Then I need to save it to the web as a PNG with a transparent background.

    Could I do a script for? or is there another way to do it in batches?

    I wouldn't have to open them one by one and resize the work plan then the image and save it one by one as that would take forever.

    Any help some suggestions would be greatly appreciated.

    ID do as a series of actions photoshop if the end result is png,

    pro image processor can help you make automatically, if you must resize batch additional... >

    https://sourceforge.NET/projects/PS-scripts/files/image%20Processor%20PRO/v3_2%20betas/

    I think that your work can run in a few steps, but for simplicity, I would like to start / test with a new photoshop action recording

    Open a file, change the size of the image to 350 x 350

    Change the canvas size,

    then save under...

  • No support for pse4, don't need help with aid and all the rest. What is a layer? How can I get help PDF from CD? I don't have any idea how to use it. I have a Macbook pro.

    Need help with using pse4 not taken in charge by adobe. How subjects do not available and I have never used something like that. Aide said there is a download but have not been able to do. What is a rookie to do? Y at - it somewhere that I can go to learn how to use PSE4?

    To find out how your problem:

    http://kb2.Adobe.com/CPS/402/kb402107.html

    To get help from the CD files you double-click in the finder, go to PDF help and drag it to the desktop or elsewhere.

  • HP laptop: need help with internet and search for things

    whenever I'm on chrome internet explore google ect and go to tab it is says unknown error or no internet connection or anything and just takes me chrome ect. I need help with this im involved in a byod class and my computer won't let me on what whatever usually it just starts out black and white and the seeds I my search request

    Yes it's a Windows 10 and it arrived already installed I'll take the other info now

  • Urgent need help with String Manipulation

    Hello;
    I really need help with strings.

    Let's say I have these channels:
    \\ABC\DEF\GHI\xyz\xyz\xyz\xyz

    \\ABC\DEF\GHI\xyz\

    \\ABC\DEF\GHI\xyz\xyz\xyz\

    \\ABC\DEF\GHI

    \\ABC\DEF\GHI\

    ABC/DEF/GHI/xyz/xyz/xyz/xyz

    ABC/DEF/GHI/xyz /.

    ABC/DEF/GHI/xyz/xyz/xyz /.

    ABC/DEF/GHI

    ABC/DEF/GHI.

    I need to convert them using a SQL statement for:
    \\ABC\DEF\GHI\xyz\ or //ABC/DEF/GHI/xyz/ according to the original management / or \. Please note that the "xyz" may be repeated zero or more times. I just need one end with a trailing / or -if she had one first.

    I'm on Oracle 11.1.6 SE. I have a bunch of attempts with instr, substr and replace, but I think that regexp_replace could be better.
    Any help would be GREAT! I have a whole team waiting on me.

    Hello.

    Here is a way.

    -----------------------------------------------------------------------
    with sample_table as
    (
         select '\\ABC\DEF\GHI\xyz\xyz\xyz\xyz' str from dual union all
         select '\\ABC\DEF\GHI\xyz\' from dual union all
         select '\\ABC\DEF\GHI\xyz\xyz\xyz\' from dual union all
         select '\\ABC\DEF\GHI' from dual union all
         select '\\ABC\DEF\GHI\' from dual union all
         select '//ABC/DEF/GHI/xyz/xyz/xyz/xyz' from dual union all
         select '//ABC/DEF/GHI/xyz/' from dual union all
         select '//ABC/DEF/GHI/xyz/xyz/xyz/' from dual union all
         select '//ABC/DEF/GHI' from dual union all
         select '//ABC/DEF/GHI/' from dual
    )
    select str,
         regexp_replace(str,'(xyz([/\])*)+$','\1') new_str
    from  sample_table;
    
    STR                      NEW_STR
    ------------------------------ ------------------------------
    \\ABC\DEF\GHI\xyz\xyz\xyz\xyz  \\ABC\DEF\GHI\xyz
    \\ABC\DEF\GHI\xyz\            \\ABC\DEF\GHI\xyz\
    \\ABC\DEF\GHI\xyz\xyz\xyz\     \\ABC\DEF\GHI\xyz\
    \\ABC\DEF\GHI                 \\ABC\DEF\GHI
    \\ABC\DEF\GHI\                 \\ABC\DEF\GHI\
    //ABC/DEF/GHI/xyz/xyz/xyz/xyz  //ABC/DEF/GHI/xyz
    //ABC/DEF/GHI/xyz/            //ABC/DEF/GHI/xyz/
    //ABC/DEF/GHI/xyz/xyz/xyz/     //ABC/DEF/GHI/xyz/
    //ABC/DEF/GHI                 //ABC/DEF/GHI
    //ABC/DEF/GHI/                 //ABC/DEF/GHI/
    

    Kind regards.

  • Need help to find and replace

    Hi all

    I need assistance to find and replace words between \ make "BOLD" and delete the symbol in my pages just like below.

    Text example:

    He astonished his parents by \turning a childhood obsession\ in a decent-paying career, much to their dismay.

    After the text:
    He astonished his parents by turning a childhood obsession into a decent-paying career, much to their dismay.

    Thanks in advance,

    Siva

    (\\+?) will never return more than 1 backslash because the? is telling to find the shortest match. {I would change that to each (\) or (\\{2)}

  • Need help with drag and drop

    IM really new to this program as a

    day new hehe and I need help. im making a game quiz and your supposed

    ED to score in the hoop with a circle.  I have the

    codes for the drag and drop for the circle, but I need help with the collision between the Hoop and the ball, I want to go to the image next or gotoandPlay when the ball touches the ring. HELP PLEASE

    You should not attach code to objects.  and you can be able to happen by using a loop.

    Start by removing all the code the suggested by maqro (i.e. as3) and by removing all the code attached to objects.

    use:

    {yourobject.onPress = function ()}

    this.startDrag ();

    }

    {yourobject.onRelease = yourobject.onReleaseOutside = function ()}

    this.stopDrag ();

    {if (this.) HitTest (whatever))}

    do something

    }

    }

  • Urgent need help with MD3000i

    Got 4 units MD3000i and they were great for 5 years.

    Perform maintenance on the switches and power to one of our media.

    Have a 2 nodes and MD3000i for our SQL cluster.

    Power off both nodes of the cluster SQL while rewiring of SAN switches. We leave on the MD3000i chassis, but I do not think that this could be a problem.

    Subsequently realised could not contact the management for SAN ports.  This is not uncommon and usually a stop and restart did the trick.

    In this case off the power to the chassis, powered back and two controllers just restart before initiallizing the iSCSI port.  They ping, but software cannot connect before they reset again. Used the serial cable and watched the boot process, lists a panic - irreconcilable ITA database before they reset.  Can't find anything about a database of the ITA.

    Tried to use one or the other cards but no difference.

    Finally pulled the readers and it would be starts fine but show no group of disc or anything.

    Even with a drive in the chassis, it would go back to the problem.

    Biggest problem is that we discovered the most recent backups of our SQL production was on another partition on the SAN.

    Really be a life saver if anyone can point me to something more to try or a guru.

    Yah Justin with Support Dell has helped me get all fixed.

    He thought it could have been older firmware, or a drive problem just in the right place.

    That is the process.

    Went to my install MDSM and got the csv files in file recovery. Only in the case, but I didn't need.

    Shoot all the readers and connections but management

    put in 2 new drives (slot0, 1) who had not been a MD3000i before and had no database configuration on them

    initialization of map main made sure that it was successful, then added the secondary card

    Once it was up and working on the 2 discs

    begin to insert the original box 3-14 disks one confirming that each of them has been detected and work.

    Then replace location 0 car with original and finally slot 1

    At this point, the software has seen original disk groups and we were able to do an import of my 2 groups

    Then updated to the latest firmware on controllers and disks

    At this time, he had to reconfigure iscsi connections and host groups

    Good to go.  My faith in the units has been restored.

  • Need help with SQL Query - change of name history of audit table.

    I need your help to find the result in the following way...


    Emp No    New_name    Old_Name
    -----------------------------------------------
    1           Name3        Name2
    1           Name2        Name1
    create table emp(emp_id number(10),
    emp_name varchar(50),
    constraints emp_pk primary key(emp_id) );
    
    
    
    create table emp_audit(
    audit_id number(10),
    emp_id number(10),
    emp_name varchar(50),
    audit_date date,
    constraints emp_audit_pk primary key (audit_id),
    constraints  emp_audit_emp_fk foreign key(emp_id)  references emp(emp_id));
    
    insert into emp values(1,'Name3');
    
    
    insert into EMP_AUDIT (audit_id, emp_id, emp_name, audit_date)
    values (1, 1, 'Name1', to_date('14-08-2011', 'dd-mm-yyyy'));
    insert into EMP_AUDIT (audit_id, emp_id, emp_name, audit_date)
    values (2, 1, 'Name2', to_date('15-08-2011', 'dd-mm-yyyy'));
    commit;
    Thank you...

    Dipabkar Bédard (DB) wrote:

    We write is the query without using "partition by" in oracle...?

    with t as (
               select  audit_id,
                       emp_id,
                       emp_name,
                       row_number() over(order by audit_id) rn
                 from  emp_audit
                 order by emp_id,
                          audit_id
              )
    select  a.audit_id,
            a.emp_id,
            a.emp_name old_name,
            nvl(b.emp_name,(select c.emp_name from emp c where c.emp_id = a.emp_id)) new_name
      from  t a left join t b
            on (
                    b.emp_id = a.emp_id
                and
                    b.rn = a.rn + 1
               )
    /
    
      AUDIT_ID     EMP_ID OLD_NAME                                           NEW_NAME
    ---------- ---------- -------------------------------------------------- ------------
             1          1 Name1                                              Name2
             2          1 Name2                                              Name3
    
    SQL> 
    

    And without analytical functions:

    with t1 as (
                select  audit_id,
                        emp_id,
                        emp_name
                  from  emp_audit
                  order by emp_id,
                           audit_id
               ),
         t2 as (
                select  audit_id,
                        emp_id,
                        emp_name,
                        rownum rn
                  from  t1
               )
    select  a.audit_id,
            a.emp_id,
            a.emp_name old_name,
            nvl(b.emp_name,(select c.emp_name from emp c where c.emp_id = a.emp_id)) new_name
      from  t2 a left join t2 b
            on (
                    b.emp_id = a.emp_id
                and
                    b.rn = a.rn + 1
               )
    /
    
      AUDIT_ID     EMP_ID OLD_NAME                                           NEW_NAME
    ---------- ---------- -------------------------------------------------- ----------
             1          1 Name1                                              Name2
             2          1 Name2                                              Name3
    
    SQL> 
    

    SY.

  • Need help with WRT54G2 and network at home

    OK, I got the WRT54G for a long time and recently updated for the WRT54G2 but now can't access the file sharing and running Windows Vista from Windows XP using wireless.

    Here is my set upward,

    Desktop running Windows Vista connected to the router (that's the computer with folders and printers)

    2 - Windows XP laptop computer connected wireless

    All 3 are defined on the same workgroup can be seen on Windows XP machine when you go to, favorite network, also all can get on the internet.

    Any ideas what the problem might be? I'm guessing a setting somewhere but I was not able to find it.

    After a lot of research and help from this forum, I finally got to work, it was a firewall issue

    Thanks for the replies.

  • Possible bug in inDesign CS5 with find and change

    This could be a problem with my script, or it may be a bug, not sure.

    The script is used to find a double space in a text fragment and change to single space.

    It only works once when it is run.

    To make it work again you must close and reopen inDesign.

    Here is the code:

    app.findTextPreferences.findWhat = "";
    app.changeTextPreferences.changeTo = "";
    App.documents [0] .changeText ();

    Works for me...

    Try to screw up your prefs.

    Substances

  • Need help to find and replace multiple query

    Hello

    Is it possible to run multiple searches and replace queries both in Dreamweaver 8?

    Currently I have:

    Find: current Document
    Search: Source Code
    Find: ToR
    Title: < acronym 'Mandate' = > ToR < / acronym >
    Options: Match case and find whole words

    I have search and replace about 12 acronyms on each page, and I was wondering if I can create a search and replace the query that includes all my acronyms or do I have to manually run these 12 single queries every time?

    Thanks for the help!

    I'm afraid that is both

    --
    Paul Whitham
    Certified Professional Dreamweaver MX2004
    Adobe Community Expert - Dreamweaver

    Valleybiz Web design
    www.valleybiz.NET

    "Acadieman" wrote in message
    News:eci6a5$JDL$1@forums. Macromedia.com...
    > Hi,.
    >
    > Is it possible to run multiple searches and replace queries both in
    > Dreamweaver 8?
    >
    > Currently I have:
    >
    > Search in: current Document
    > Search for: Source Code
    > Find: ToR
    > Replace: ToR
    > Options: match case and find whole words
    >
    > I find and replace about 12 acronyms on each page and I was
    > I was wondering if I can create a search and replace the query that would include
    > all my
    > acronyms or I have to manually run these 12 single queries every time?
    >
    > Thanks for the help!
    >

  • I need help with copy and paste does not

    I already asked this question, but no one seems to want to help or does not know the answer.  I can't afford to pay microsoft $49 help. It is their dang opertating system and you would think they would help the customers who buy their products.  Don't think!  Please, someone help me.  I am a graphic designer and need to copy and paste all the time, but it does not work.  It's so frustrating.  Should have bought a Mac time... next.  If no one here can help... where can I go for help?  Here the question again.

    Copy and paste the orders have stopped working in all my software programs (Photoshop, CorelDraw, Corel Painter, etc.).  When I type "copy", or "control c", it crashes and whatever program I use becomes inoperative, as well as all my programs, until I can get the specirfic program to close.  I ran Services.msc to ensure than the Clipboard (did not find Clipboard so I assumed it was changed to album) has been activated, which he was, but when I click on 'Start service' it says "cannot start service on local computer album.  "Error: 1068: the dependency service or group could start. It started several weeks ago and I have not installed new programs during this period.  Only my computer display was the automatic updates of Windows.  It's very frustrating... How can I copy and paste to work.  I got this computer less then 4 months.  Thank you

    To all with this problem, try this:

    http://support.Microsoft.com/kb/309662

Maybe you are looking for

  • Satellite A30: his missing - pilots & sound card works fine

    I have a toshiba a30 and all in the distance suddenly my sound disappeared, pilots are intact and he says my sound card works fine, start melody can be hear very low if the room is in total silence and you hold up to your ear for it. Recently, I have

  • iCloud questions?

    If I delete my husband of his old iPhone iCloud account 5 it will also remove his his new iPhone iCloud account 6 more?

  • Secure API question

    Hello in my application, I use the API signed... I want to deploy the application on the device... while deploying, I need to sign these APIs... I signed these APIs When I try to start the application on the device, it is said: application startup er

  • "Recent places" folder is empty on the computer. How should I do?

    My recent locations folder is broken; It does not display anything. I made sure to activate the option for it in the start menu properties, but still nothing comes.  It's target location seems to be directed to the office that I think may be the caus

  • Can the keyboard and the touchpad works at the same time?

    I play games on my computer, so I have to use the keyboard and the touchpad. Whenever I have every time I press the keys on the keyboard, the touchpad freezes. But when I plug in a mouse, it works fine. Anyway around this?