Help with GREP and number formatting, deletion of the brackets. I'm halfway there!

Hello, I need to format a ton of numbers (#) phone #-# to #-#-#. I have the research work:

(\(\d{3}\) [] \d{3})

But I can't understand how to make the change... can someone please help me with the ' put in place: "entry?

Thank you!

You can use the query already defined in the drop-down list that allows you to convert the format in brackets for a point and in the change field format to replace the dots with-, for $1 - $ 2 - $3

Tags: InDesign

Similar Questions

  • 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

  • Hello, I would like to install items 13 on a new computer that I go to.  I bought elements 13 and installed on my old computer. my serial number is < deleted by the moderator >.  Sorry, but I cannot determine how to

    Hello, I would like to install items 13 on a new computer that I go to.  I bought elements 13 and installed on my old computer. my serial number is < deleted by the moderator >.  Sorry, but I cannot determine how to do from your download page. Thanks a lot, my email address is < deleted by the moderator >

    Reference: http://www.adobe.com/downloads/other-downloads.html

    I hope this helps.

    Concerning

    Megha Rawat

  • Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Is there a default value for the color management in PSE10? Beautiful photos from iPhoto, but blur with elements. I need help with this before as I consider that the upgrade to PSE13 and beyond.

    Printing which forms an angle seems ok, but one that is horizontally seems faded, incomplete.

    I was wondering if I saved a layer somewhere and set it as a default value.

    If you group the layers, you will be left with a single layer, thus spreading your concern.

    Suggest that you do the following:

    1. Make sure you have the latest drivers for your printers
    2. Reset the default preferences.

    Hold the Alt, Ctrl + Shift keys when you click the icon to open the items. When asked if you want to delete the settings file, say Yes.

    Items nearby and let regenerate the file.

  • Using Acrobat XI with IE11 and Win7; I can't the acrobat toolbar. Watch modules Manager he's here and activated, but the toolbar is not there. And when I use right click and click on convert to Adobe pdf format, nothing happens.

    Using Acrobat XI with IE11 and Win7; I can't the acrobat toolbar. Watch modules Manager he's here and activated, but the toolbar is not there. And when I use right click and click on convert to Adobe pdf format, nothing happens.

    Can anyone help?

    Hi Richard,

    1. start Internet Explorer.

    2. Select Tools > Internet Options, and then click the Advanced tab.

    3. check if "enable third-party browser extensions (requires restart)" and click OK.

    4. close all Internet Explorer Windows.

    5 restart Internet Explorer.

    Let us know how it goes.

    You can also check out the following link and see.

    Quick fix | See a PDF on the Web

    Concerning

    Sukrit diallo

  • A program of Photoshop for beginners help with things and advertising brochures

    What would be a good program of Photoshop for beginners help with things and advertising brochures

    ' Advertising brochures and things ' seems to imply elements that will be printed on both sides of a piece of paper or make multipage documents.

    Photoshop is an image editor and can have only 1 page per document.

    In short, Photoshop is the application bad for something more than a single item from the front.

    Adobe InDesign is a page layout program that is specifically designed to create multipage documents.

    You can type or place text, photos of the place and the other images and have better control over the placement and arrangement of the elements on the page.

    InDesign, like Photoshop, Illustrator has a steep learning curve.

    You can download Adobe trial versions (these will only work for 30 days) and raise you some books or sign for video lessons on Lynda.com

  • Last month, I bought a license for Adobe Creative cloud with this code installiation [code deleted by the moderator of privacy]. Can you tell me on which account this code is activated

    Last month I bought a license for Adobe Creative Cloud with this installation code [code deleted by the moderator of privacy]. Can you tell me on which account this code is activated

    In this case, you must contact Adobe technical support.

    Click always need Help (help), and then select the Chat option:

    Contact the customer service

  • I accidentally deleted files and even deleted from the Recycle Bin. Is there a way to retrieve them using MS DOS?

    I accidentally deleted files and even deleted from the Recycle Bin. Is there a way to retrieve them using MS DOS?

    Thank you both of you who tried to help. I just found out that Dropbox keeps deleted files images for 30 days. I just need to go in their undelete function, choose the files that I deleted and restore them. It has been easy.

    Thanks again

  • What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    That all depends on what you want to share

    The data files that are "industry standard" such as the JPG images are the same on both platforms

    Files that are specific to the platform, such as video files on a Mac or Windows, AVI video files MOV will either require conversion or additional software (to open a MOV file with a Windows program, you must have installed Apple Quicktime for Windows)

    In addition to this, the files that are specific to Adobe... such as the InDesign files... are not always compatible because of new features in newer versions, like a Premiere Pro video project file created in the 2015 version cannot open in 2014 version

    If you have problems with files and specific programs, you should ask for help in the forums for these programs

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • hard drive died. Unable to duplicate. tried to reinstall disk comes with computer and says unable to complete the installation.

    replaced the hard drive.  Reinstall disk and custom factory

    Toshiba satellite a135. hard drive died. Unable to duplicate. tried to reinstall disk comes with computer and says unable to complete the installation. reinstall again. 5 times and still the same.

    Hello

    If you have problems with the process of recovery of manufacturers, contact the manufacturer

    It's their recovery process not microsofts

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

  • Help with GREP search and replace

    I've never used grep before and I'm stumped.  I have a document that lists the times for different classes.  Times are variously listed as 9-10, 9-10, 9-10 or 9-10, to get examples.  The problem is that there may be no space or a space on the left or the right of the hyphen.  I want it all the time as 10:30 - 11:30, for example.  In other words, the link must have a space on each side of it.  I think that this could be accomplished with GREP search and replace, but I don't understand the syntax well enough to make it work.

    Can someone tell me how to write the search and replace expressions?  (Of course the real time could be any hours).

    Thank you!

    It is tempting to add spaces of * all numbers separated by a dash. If you don't know all time have some minutes, then it is safer to use this:

    (?<=:\d\d)>

    .. Replace with space hyphen space.

    He seeks the "settler, any digit, any digit" (which is * found * not * included *), followed by 'optional of a space, a hyphen, optional space' and must be followed by 'any number' (again, not counting this one). Since the figures before and after are * found * not * included *-which is due to the (? xxx) syntax - all that needs to be replaced is the dashboard itself. Making the space before and after the optional dashboard (using a single "?" immediately after each), no matter if it * is * a space or not, all the combinations will be found and replaced.

  • Help with GREP

    Hello world!

    I need assistance with grep style.

    I want to apply a character with "BOLD" for each text style, in a specific paragraph style, Reed media before uppercase.

    For example:

    -Za ispušta proizvod u CIJEV ZA OBLIKOVANJE vaganje Sustav (1)...

    Must be:

    -Za ispušta proizvod u CIJEV ZA OBLIKOVANJE vaganje Sustav (1)...

    Can someone help me?

    Try this one: find \u[\x20\u]+? ( ? =\()

    In other words,.

    \u followed by capital

    [\x20\u]+ one or more space (\x20) or a capital]

    (? = \x20\ () followed by a space and an open parenthesis - but don't capture the spece and the parenthesis)

    In the format change Panel, set "BOLD".

    Peter

  • Need help with sql, and bash

    Hi guys,.

    My main problem/situation is when sqlplus returns no data (no message selected lines)

    Bash shell script condition

    echo $open_items

    15 if [[$open_items == "0"]]

    16. can

    echo 17 0

    18 else

    19 1 echo

    20 fi

    and real sql is as follows:

    elect the count (*) a table with a condition.

    I get the output as follows:

    + open_items ='

    COUNT (*)

    ----------

    0'

    + echo 'COUNT (*)'---0

    COUNT ()) - 0

    + [[

    COUNT (*)

    ----------

    0 == \0 ]]

    + echo 1

    1

    What to do so that I can get a number in the output of sql is my question because the condition of shell script is based entirely on sqlplus out. I tried set feedback off, but it does not help.

    Any help would be much appreciated!

    SQL lover wrote:

    OK I try it and give you feedback

    In fact, I take out execution of sql into a variable

    MyVar = $(sqlplus-s/as sysdba)<>

    Set echo off feedback off verify off trimsp head off pages 0

    Select count (*) from dba_users;

    output

    EXPRESSIONS OF FOLKLORE)

    echo myvar is $myvar

  • I need help with fusion and direct mail with attachment PDF!

    I am trying to send more than 400 emails via the mail with an attachments in PDF to Word 2013. My earlier version of Word had the MERGE feature in PDF format and when I upgraded to the word 2013, he disappeared. Can someone help me? Is it an add-on I'm supposed to be? Thanks a bunch!

    Taushadoll

    Yes, or you can downgrade (Acrobat or office)...

  • Help with packages and functions that it

    Hello, I need help with the package.
    I have two tables of the employee base (id, firstname, lastname, etc..) T1 and T2.
    What I need, it's a package and two features inside. First function reads the data from T1 and passes to the second function, where second function reads data from T2 and concatenates the data just read with data from function1 and data T1 + T2 function2 goes on the main program that displays this data.

    So far, I have:
    create or replace type emp_type as object
    (id number,
    firstname varchar(20),
    lastname varchar(20),
    salary number(9,2));
    
    create or replace type emp_type_table as table of emp_type;
    
    create or replace package my_package
    is emp_table emp_type_table:= emp_type_table();      -- *not sure if this line is correct*
    function get_T1_emp return emp_type_table;
    function get_T2_emp (T1_emp in emp_type_table) return emp_type_table;
    end my_package;
    
    -- *confusion begins*
    
    create or replace package body my_package as 
    function get_T1_emp
    return  emp_type_table as 
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T1) loop
             emp_table.extend;
             emp_table(emp_table.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return emp_table; 
    end get_T1_emp; 
    - get_T1_emp function seems to be quite beautiful. At least it works separately
    function get_T2_emp (T1_emp in emp_type_table)
    return  emp_type_table  
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T2) loop
             T1_emp.extend;
             T1_emp(T1_emp.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return T1_emp; 
    end get_T2_emp;
    end my_package;
    
    
    DECLARE
      v_Return emp_type_table;
      v_Return2 emp_type_table;
    BEGIN
      v_Return := get_T1_emp;
      v_Return2 := get_T2_emp(v_Return);
      for i in 1..2 loop
        DBMS_OUTPUT.PUT_LINE(v_Return2(i).id || ', ' || v_Return2(i).firstname || ', ' || v_Return2(i).lastname 
        || ', ' || v_Return2(i).salary || 'EUR');
      end loop;
    END;
    So basically I don't know about my tax package.
    Most important, I don't know how to write the get_T2_emp function. And also not very sure of my main function. Please can someone help my with my problem

    Published by: dber November 6, 2011 21:22

    Published by: dber November 6, 2011 23:38 added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Hello

    Here you go

    SQL> DROP TABLE t1;
    
    Table dropped.
    
    SQL> DROP TABLE t2;
    
    Table dropped.
    
    SQL> CREATE TABLE t1 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> CREATE TABLE t2 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> INSERT INTO t1  (SELECT 1,'SURI','DAMA' FROM dual
      2                     UNION ALL
      3                     SELECT 2,'SRINU','DAMA' FROM dual);
    
    2 rows created.
    
    SQL> INSERT INTO t2  (SELECT 3,'ABC','XYZ' FROM dual
      2                     UNION ALL
      3                     SELECT 4,'DEF','PQR' FROM dual);
    
    2 rows created.
    

    Package code

    
    SQL> CREATE OR REPLACE PACKAGE test_array_pkg
      2  AS
      3    TYPE test_array1 IS TABLE OF t1%rowtype  INDEX BY PLS_INTEGER;
      4    TYPE test_array2 IS TABLE OF t2%rowtype  INDEX BY PLS_INTEGER;
      5
      6    FUNCTION get_t1 RETURN test_array1;
      7    FUNCTION get_t2(p_t1 IN test_array1)
      8    RETURN test_array2;
      9
     10  END test_array_pkg;
     11  /
    
    Package created.
    

    Package body

     SQL> CREATE OR REPLACE PACKAGE BODY test_array_pkg
      2  AS
      3    t1_array1 test_array1;
      4    t2_array2 test_array2;
      5
      6    FUNCTION get_t1
      7    RETURN test_array1
      8    IS
      9
     10      n NUMBER :=0;
     11
     12    BEGIN
     13
     14     FOR i IN (SELECT * FROM t1)
     15     LOOP
     16
     17       t1_array1(n).id:= i.id;
     18       t1_array1(n).firstname := i.firstname;
     19       t1_array1(n).lastname := i.lastname;
     20
     21       n:=n+1;
     22
     23     END LOOP;
     24
     25     RETURN t1_array1;
     26
     27    END get_t1;
     28
     29    FUNCTION get_t2(p_t1 IN test_array1)
     30    RETURN test_array2
     31    IS
     32
     33      n NUMBER:=0;
     34
     35    BEGIN
     36
     37     FOR i IN p_t1.FIRST..p_t1.LAST
     38     LOOP
     39
     40       t2_array2(n).id:=p_t1(i).id;
     41       t2_array2(n).firstname:= p_t1(i).firstname;
     42       t2_array2(n).lastname := p_t1(i).lastname;
     43
     44       n:=n+1;
     45
     46     END LOOP;
     47
     48     FOR i IN (SELECT * FROM t2)
     49     LOOP
     50
     51       t2_array2(n).id:=i.id;
     52       t2_array2(n).firstname:= i.firstname;
     53       t2_array2(n).lastname := i.lastname;
     54
     55       n:=n+1;
     56
     57     END LOOP;
     58
     59     RETURN t2_array2;
     60
     61    END get_t2;
     62
     63
     64  END test_array_pkg;
     65  /
    
    Package body created.
    

    Main script

     SQL> declare
      2
      3     t1_result test_array_pkg.test_array1;
      4     t2_result test_array_pkg.test_array2;
      5
      6  begin
      7
      8    t1_result:= test_array_pkg.get_t1;
      9    t2_result:= test_array_pkg.get_t2(t1_result);
     10
     11    FOR i IN t2_result.first..t2_result.last
     12    LOOP
     13
     14      dbms_output.put_line(t2_result(i).id||' '||t2_result(i).firstname||' '||t2_result(i).lastname);
     15
     16    END LOOP;
     17
     18  end;
     19  /
    1 SURI DAMA
    2 SRINU DAMA
    3 ABC XYZ
    4 DEF PQR
    
    PL/SQL procedure successfully completed.
    

Maybe you are looking for