An another GREP Question

I am trying to use GREP to search for all rows that contain the following text: ""or the words "": then change to: ""or the words ": "

The problem does not change, it is to find.  I use this string to try to find these words or phrases in brackets with the column at the end: ("") (\w+)(") (:)

So far, it works very well to find what I want, with one exception.  He is unable to find all the words in parentheses, with what it can't find cases many sing the words.  As far as I understand (\w) should find "any word", but in this line, there is a + which means one or several times, yet he is only not one or more.  Could someone please help me understand why this does not how it appears to work?

It does not work because several words have spaces between them, and you're not allowing for this.

I suspect that what you really want to find is (".") + ? (''): although I have not tested. Which should match the shorter what whether in quotation marks and followed by a colon.

Tags: InDesign

Similar Questions

  • Simple GREP question

    the following case modifier applies to all the text in brackets?

    (\((?i) (all this text is modified\ is?)------)

    I was wondering how editors work with sub-expressions.

    A very good Question!

    -Yes, it does. The modifiers are fully aware of grouping, and so you can do something like

    ( ? i) Hello ((?-i) World) out there

    to find 'Hello' and 'out there' sensitive case-sensitive and case-insensitive 'world'.

    Modifiers should not be at the beginning of your GREP:

    Hello (? i) World (?-i) etc.

    find "Hello" case sensitive (by default), 'everybody' insensitive to the case and "etc (any character)" case-sensitive. This is equal to

    Hello everyone ((?i)) etc.

    Moreover, another method is to use this notation:

    Hello (? i: world) etc.

    which is a little more readable.

  • Yet another silly question

    So, quickly followed by the post, I did earlier this week:

    http://forums.Lenovo.com/T5/T61-and-prior-T-series-ThinkPad/what-am-I-missing-overheating-fans-tpfan...

    Yesterday, I disassembled the T60 - B, cleaned the fan, memory up to 2 GB in an accident and swapped the screen with the T60 - C flexview. And replaced broken front with another Panel before broken, but this one doesn't gouge in my thumb.

    Anyway, everything is going very well, no remaining parts and screws and it now works better (and cold) than ever.

    Question is, is there a different display driver should I br running in order to take full advantage of this upgrade of the screen? Maybe I missed something, but I don't see anything on the list of drivers that jumps out to me...

    Once again, thank you!

    I think you are missing the point. The T60 has optional motherboards and option screens. Each dimension of plate came in four different styles at least. Card Intel graphics, two with ATI Radaen and two with ATI fireGL. I guess you have a 15 "model and updated since a XGA (1024 x 768) screen to a screen flexview SXGA + or UXGA. Change the screen will not involve the change of pilots, but the flexview screens use a different ups, if you don't change your xga may not be the power inverter to operate the screen to its full potential.

    PS it would have probably been better continue your old topic instead to make a new, or posted at least all the specs of your system in the new if we do not have to guess what you might have.

  • BlackBerry smartphones another little question from a novice on windows authentication

    Hi, I posted a question a few weeks ago, to summarize, I recently dumped my treo for the new storm.  I enjoy them until now, but I have a question to get connected to a windows site.

    I use logmein for mobile access, (www.logmein.com), it's like gotomypc, but free and I used to be able to log in with my treo smartphone, but I'm having a problem on my BB.  I spend all the stuff (on the site of logmein) html Web page and get to the point where I have to put the password for the computer that I'm remote'ing.  The phone's browser has "Windows authentication" in the upper part, followed by three text fields, username, PW and domain.  I don't have a domain, but when I entered the username and password, I can't select the "login" link just in the middle of the page at the bottom. "

    I tried everything, he can't know.  Also, on this screen, zoom and other "typical" controls are not available, as the keyboard and a few other navigation options (none is "next" or "enter")...  Oh, and another thing, when I click on the screen where the "login" link is, it locks the keyboard back to the top and sometimes wipes all the text on the fields?...

    Thanks in advance...

    Thanks for the help, it turns out looking as if it was a problem on the side of the House Logmein.com...

  • Another RAID Question :)

    Until recently, we bought our licenses for ESXi 5 and before I have order my raid controller I would check with the community on certain things.

    Based on research I did on the forums and on the compatibility list, it's a pretty decent controller:

    http://www.Newegg.com/product/product.aspx?item=N82E16816118170

    What we seek to do is to take the above 8 port controller and set up 4 disks in RAID 10. Then down the line, connect a 4 discs additional for the controller even in another configuration of raid 10 or two matrices RAID 1.

    So my question is this: is it possible to install ESXi 5.5 on the first RAID 10 configuration, then later, to create additional tables on the same controller and then assign them to the existing installation of ESXi?

    Thanks in advance for answers!

    Yes, you can add new bays starting from the same controller to your ESXi installation at a later date. This will be done through host Configuration > storage. Once the berries are configured, they will appear in the list of available LUNS and can be connected to ESXi like additional data stores.

    I don't have experience with this particular model of LSI first hand, but it is listed on the HCL 5.x ESXi, so you should not encounter compatibility problems.

  • Style InDesign Grep question

    Hello

    I have a question about Indesign. I want to make the text a certain character as a space of hair for example "BOLD". This must be addressed in a paragraph style. I think that this can be done with GREP styles. I've tried several things, but it is not supposed me... Anyone know if this is possible or is there a better way to do?

    Thank you!

    Apply style to "bold" to the text:

    (?<>

  • Another quick question of CSS layout - vertical align: middle

    Just another quick on the use of CSS to the content of the page within the section of the page layout.

    On the homepage below, I have some images with text next to them:

    http://www.Haiji.jp/

    Because of the uneven text, it would be better if the text on the right and left of the four images vertically flown in space.

    (Basically like this old version of the table according to: http://www.haiji.jp/indexcopy.php )

    I don't know vertical-align: middle; doesn't really work for this, but could not get the right way to work.

    I tried variations to have an external container positioned a parent and an absolutely positioned inner container and using top: 50%;

    So for the first row for example CSS is:

    #outerWrapper #contentWrapper #content #row_one {}

    Width: 620px;

    overflow: hidden;

    }

    #outerWrapper #contentWrapper #content #row_one #row_one_left {}

    Width: 210px;

    padding: 0px;

    float: left;

    margin: 0 0 0 0; / * Sets the properties of margin for an element using the shorthand notation (up, right, down, left) * /.

    }

    #outerWrapper #contentWrapper #content #row_one #row_one_right {}

    Width: 410px;

    padding: 0px;

    float: right;

    text-align: left;

    margin: 0 0 0 0; / * Sets the properties of margin for an element using the shorthand notation (up, right, down, left) * /.

    position: relative;

    }

    #outerWrapper #contentWrapper #content #row_one #row_one_right #row_one_right_content {}

    position: absolute;

    top: 50%;

    }

    Who is not doing and maybe overloading the question.

    But if anyone can let me know how to get this vertically positioned text which would be a good thing.

    Thanks again.

    Support IE7 you need to "hack" a little: adjust the "padding-top" according to the number of lines of text, it is a. (not a good solution as supposition is working but IE7 IS a marginal browser now)

    Then add

    the text (see below)

    http://ALT-Web.com/images/alt-Web-logo.gif"/ >

    Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor. Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor.

    http://ALT-Web.com/images/alt-Web-logo.gif"/ >

    Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor. Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor.

    http://ALT-Web.com/images/alt-Web-logo.gif"/ >

    Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor. Vestibule ipsum ipsum, ac malesuada pretium vel gravida malesuada, tortor.

  • CS4 GREP question (something lookaround)

    Hello

    I've been combing internet for a good half hour to try to find a solution to this, but nothing helped.

    The problem: I want to find all the text from the beginning of a paragraph to the 2nd tab.

    So using a real example, I want to what follows, in blue, are:

    < Tab > Q1 one) < tab >text...

    Note: it does not really matter if the second tab is found or not, because this GREP will be used to apply a character style "BOLD".

    I am currently using this lookaround:

    (?<=^).+(?=\t)

    Which works very well if there are only two tabs. But as you would expect, as soon as another tab is inserted all the text up to the 'new' tab is located.

    I can't work out how to sort, so any help would be much appreciated!

    See you soon

    This seems to work:

    ^.*?\t.*?\t

    Peter

  • Another RegEX question

    Hi, I have a question about the regular expression: If you look at the attached code you will find two examples. It is an old piece of code, but now I have to fix a bug that was discovered after a few years of use. Task: If the entry is for example C1 - C4, the algorithm needs generate a table of C1, C2, C3, C4. This should work on any digit and letter. Examples: R1 - R5, K569-K799, S2 - S3. This works very well for [letter] [number], but my regex won't work for the case now, I have to solve. If the entry is C1A1-C1A4 the output should be C1A2 C1A1, C1A3, C1A4, but I don't know what should look like the new RegEx so that it still works on [letter] [number] [letter] [number].

    You can not only use [0-9] + $ to return only the number of the end of the string?

    Regular correspondence Expression.vi will return all the foregoing the final number in 'before the game '.

    I'm sorry that I can't look at your code since I don't have a LabVIEW 2011 on my system.

    Rob

  • Yet an another microSD Question (it's different!)

    Hello, new Member here! (^^) And Yes, I use the search option. I have read the FAQ; and I look at the manual.  And my question was never answered.  I hope someone answer me soon!  Thanks in advance!

    PS: Can I suggest a topic "microSD (HC)" added to the FAQ?  It could include my questions and questions of other people as well. = D

    In any case... I have problems with my MicroSD Kingston 2 GB card. The card works fine on my computer, but it does not work in my Sansa Fuze 2 GB drive.  Not at all.  And Yes, I only put MP3 files on the card... not video.

    I noticed that many people had similar problems (but not exactly the same thing), so I was wondering:

    1) products Kingston are incompatible with the Sansa? Other people keep problems with cards Kingston, so I thought I'd ask.

    2) that I must have a microSDHC card? My card is a microSD card.

    3) the card must be formatted in FAT16 exactly?  One of your textbooks said I should use "FAT16 or higher"... but when I formatted in FAT32, it still does not work. "" The map was originally in FAT format, and it did not work in this format either.

    ... Not sure if this will help, but my computer is a Windows Vista. And he gave me 4 formatting options: NTFS, FAT, FAT32, exFAT.

    And if all else fails...
    4) what is the warranty for my Sansa product, just in case the microSD slot is broken?  I bought it in late July or early August of this year (I still have my receipt + guaranteed somewhere; it is irrelevant at the moment because I recently moved). I'm still in my warranty or not?

    It's a good idea to insert or remove a card when the player is turned off. The card slowly and gently.

    "What are the chances that my microSD card will get stuck in the drive of Fuze?

    I have heard talk of this never happens. My digital camera has a similar mechanism, but uses a full size SDHC.

  • BlackBerry Smartphones an another Noob Question (re mp3)

    Can I buy MP3s from Amazon or somewhere like that and put them on my Blackberry?  I'm confused whether the BB has a mp3 player.  Probably a stupid question, but thanks.

    Hello!

    Here's a knockout who deals with BB-compatible media formats:

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB05482

    Indeed, the BB has a player - it should be the icon on your homescreen called "Media".

    See you soon!

  • Find and replace grep Question.

    I'll put up paragraph styles and I'm changing anything with < CR > in a ^ p.  How do I do this with a string of grep?  I am wanting to add this string grep grep style in the paragraph styles.

    With GREP Styles you can not change the text, but the formatting of the text.
    You will need an action of find/replace with the TEXT or GREP find/replace.

    Uwe

  • Grep question

    Hello

    In Grep, we'll find "one or more times", but we'll find ranges [for example (\d{3-5)}]

    Kind regards

    MuraliVetha

    You must use (\d{3,5)} instead, between the minimum and maximum number of find with a comma instead of a hyphen.

  • Another analytical question


    Hi and thanks for your help as always!

    That could be simple and can be answered several times already, but I'm stuck somewhere, sorry.

    I'm in Oracle 11 g and that is the question.

    There are two tables:

    t_user_lk one

    create table t_user_lk (user_name, VARCHAR2 (20), activity_dt DATE)

    and b t_user_activity

    create table t_user_activity (user_name, VARCHAR2 (20), activity_dt DATE, app VARCHAR2 (20))

    Need of a query to select the latest 5 apps from t_user_activity user_name table and activity_dt table t_user_lk.

    (where a.user_name = b.user_name and b.activity_dt < = a.activity_dt)

    And here is the simple test data:

    create table t_user_lk (user_name, VARCHAR2 (20), activity_dt DATE)

    insert into t_user_lk (user_name, activity_dt)
    values ('a', to_date (8 August 2013:10 1 ',' DD-MON-YYYY HH24 '));

    insert into t_user_lk (user_name, activity_dt)
    values ('b', to_date (August 1, 2013 8:20 ',' DD-MON-YYYY HH24 '));

    insert into t_user_lk (user_name, activity_dt)
    values ('a', to_date (August 1, 2013 8:30 ',' DD-MON-YYYY HH24 '));

    create table t_user_activity (user_name, VARCHAR2 (20), activity_dt DATE, app VARCHAR2 (20))

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:00 ',' DD-MON-YYYY HH24 '), 'app_1');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:01 ',' DD-MON-YYYY HH24 '), 'app_2');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:02 ',' DD-MON-YYYY HH24 '), 'app_3');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:03 ',' DD-MON-YYYY HH24 '), 'app_4');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:04 ',' DD-MON-YYYY HH24 '), 'app_5');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:05 ',' DD-MON-YYYY HH24 '), 'app_6');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (8 August 2013:10 1 ',' DD-MON-YYYY HH24 '), 'app_7');

    ----------------------
    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:00 ',' DD-MON-YYYY HH24 '), 'app_1');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:01 ',' DD-MON-YYYY HH24 '), 'app_2');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:02 ',' DD-MON-YYYY HH24 '), 'app_3');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:03 ',' DD-MON-YYYY HH24 '), 'app_4');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:04 ',' DD-MON-YYYY HH24 '), 'app_5');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (August 1, 2013 8:05 ',' DD-MON-YYYY HH24 '), 'app_6');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('b', to_date (8 August 2013:10 1 ',' DD-MON-YYYY HH24 '), 'app_7');

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

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (8 August 2013:15 1 ',' DD-MON-YYYY HH24 '), 'app_1');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:16 ',' DD-MON-YYYY HH24 '), 'app_2');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:17 ',' DD-MON-YYYY HH24 '), 'app_3');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:18 ',' DD-MON-YYYY HH24 '), 'app_4');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:19 ',' DD-MON-YYYY HH24 '), 'app_5');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:20 ',' DD-MON-YYYY HH24 '), 'app_6');

    insert into t_user_activity (user_name, activity_dt, app)
    values ('a', to_date (August 1, 2013 8:21 ',' DD-MON-YYYY HH24 '), 'app_7');

    select * from t_user_activity order to user_name, activity_dt

    The output should be like this:

    User_name

    Activity_dt

    Rank

    App

    one

    1 AUG 13 08:10

    1

    app_7

    one

    1 AUG 13 08:10

    2

    app_6

    one

    1 AUG 13 08:10

    3

    app_5

    one

    1 AUG 13 08:10

    4

    app_4

    one

    1 AUG 13 08:10

    5

    app_3

    b

    1 AUG 13 08:20

    1

    app_7

    b

    1 AUG 13 08:20

    2

    app_6

    b

    1 AUG 13 08:20

    3

    app_5

    b

    1 AUG 13 08:20

    4

    app_4

    b

    1 AUG 13 08:20

    5

    app_3

    one

    1 AUG 13 08:30

    1

    app_6

    one

    1 AUG 13 08:30

    2

    app_5

    one

    1 AUG 13 08:30

    3

    app_4

    one

    1 AUG 13 08:30

    4

    app_3

    one

    1 AUG 13 08:30

    5

    app_2

    LSY, thank you very much.

    Select

    user_name

    activity_dt

    rn rank

    app

    de)

    Select

    App

    user_name a.user_name

    a.activity_dt activity_dt

    row_number() on rn (partition a.user_name, a.activity_dt b.activity_dt desc order)

    Of

    t_user_lk one

    t_user_activity b

    where

    a.user_name = b.user_name

    and

    b.activity_dt<=>

    )

    where rn<>

    order by

    activity_dt

    rn

  • Another interesting question of synchronisation in 3.3.0.747

    I have a table of table that has been designed from a database schema. The table has now been moved to a different database in another schema and changed.

    3.3, I am able to re-point of the synchronization model with the data dictionary for the new database connection, but the result is the wizard says the table isn't in the new database and therefore should be removed from the model.

    I executed the script of meta-data table clear that Philip wrote earlier, but get the same result.

    How can I get is the tool to recognize the table in the new database, but the model needs to be updated?

    Hello Kent,

    You can change the schema in the model and use synchronization utility or can use wizard 'import of data dictionary.

    Philippe

Maybe you are looking for

  • iOS 5.1.1 not connect to itunes

    I have an iPad 1st gen 5.1.1 running.  I have an application that is supported on 5.1.1 that I would like to update.  I can't connect to the app store.  Everything works fine on an iPad 2 I.

  • FAN of buzz on my Satellite Pro L10

    After 30 to 60 minutes of work to the fan on my Satellite PRO L10-PSL15E hum early, or else close to her. The buzz stops when I press on the body of the laptop, but only for a short time and then starts again. Need help for sorting!

  • Restore missing clip

    A few months ago, I lost most of my music videos (he was 15 but now it only shows 3 recent video and not the old video that I downloaded. Is there a way I can restore my music videos on my iPod (iPod Nano 4/5th generation). It happened when I downloa

  • X 360 4003dx 13 HP spectrum: spectrum HP x 360 recognizes fully Active Dell Stylus (750-AAGN)

    I can use the laptop very well with my hands or pen capacitive touchscreen, but the active stylus works only partially: the laptop recognizes when the pen is turned on and is close to the screen, but it cannot perform any function touch no matter how

  • Buzzing noise &amp; freezing...

    On some games & even sometimes I look at you tube clips, we get a humming noise deaf through the speakers & at the same time the game/video freezes / slow down.   Any idea what would cause this?  Also, have you noticed the mouse seems to go a little