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

Tags: InDesign

Similar Questions

  • Adobe Indesign CS4 GREP code

    Hello

    Can anyone suggest me how I can change (kill) the mathematical operators to one extra space (left/right) once by GREP code in Adobe Indesign CS4

    My Question = > STI Powermath equation with extra space

    [& 3-2 3 - 2 3 - 3 = 3 + 2 3 + 2 3 + 3 = 4 3 = 3 &]

    Like this = > code GREP

    [& 3-2 3 - 2 3 - 3 = 2 3 + 3 + 2 3 + 3 = 3 4 = 3 &]

    Thank you to

    snegig


    Hi Snegig,

    What to change to say once I will check and let you know.

    Just clicking the button of change all the options of all space operators will remove the spaces before and after operators.

    THX

    csm_phil

  • 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.

  • FFDShow and CS4 capture questions

    I got my CS4 software and the new computer now for around 4-5 months but have not used first pro, yet (it is not actually a part of my job!). I went to capture a few videos today to find out that the software was not recognizing my Sony DCR-TRV950 via FW400. Turned off and on again, the computer itself recognizes the camcorder and the camcorder recognizes that he connected WHAT DV.

    A few violins more (turn on/off camera and noticing that when I do, it is recognized by the computer and the 'Digital video device' window pops up asking what I want to do with the detected device windows.) So, I know that the firewire cable is not defective.digital video device.JPG

    I chose the "Edit and record videos using Adobe Premiere Pro" option and all kinda froze and a dialogue box that came said:

    "Compatibility ffdshow Manager:

    Adobe Premiere Pro has tried to load ffdshow. This dialog box is displayed because the application is not listed in the ffdshow whitelist or blacklist. Your choice will be applied to the audio and video, if both are used.

    -Do not use ffdshow. (just this once)
    -Do not use ffdshow. (always)
    -Use ffdshow. (just this once)
    -Use ffdshow. (always) »

    I didn't know exactly what thinking then decided to choose that I wouldn't use ffdshow just a moment and the program froze. I have tried through the import function of media in the photo above (disk Roxio burning software) and Windows Movie maker and the same thing happens every time.

    I tried once to "use ffdshow. (just this once) "and the program was still frozen.

    Video editing is not essential to my function here, it is something that would benefit the work and make my life happier in all - and also means that we can actually use the software, we bought! Any help would be appreciated.

    System:

    XP Pro

    Version 2002, Service Pack 3

    2 internal hard drives, C: = 130 gb, the other is 230 GB

    I find that very good reading DVD PowerDVD from CyberLink software. In addition, MediaPlayer Classic HC (freeware) did a good job too. I have both, but PowerDVD is my go - to. We never really had them matched by-side.

    You'll have much, much less questions, than with FFDShow.

    For general information, you can do a search on this forum on "ffdshow" and read. If the list of threads is overwhelming, perhaps filter the people - Jeff Bellune, as he responded in great number. Another person to filter would hurt Millaard.

    Good luck

    Hunt

    PS - you can also check your CODEC, like K-Lite is going to crush some commercial CODECS with the free "hacked". Don't worry if your utility CODEC issues warnings about problems with the Adobe MainConcept CODEC. Those are false positives, as Adobe hides those, this programs such as K-Lite cannot overwrite them. Unfortunately, the CODEC utilities also are not correctly, and you will get the display errors. It is ManiConcept to Adobe, you're OK.

  • 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:

    (?<>

  • Premiere Pro CS4 feature Questions

    Hey everybody,

    I was thrown in a project that is using Premiere Pro CS4 (we use Roxio VideoWave) and I hope someone can answer a few basic questions (I'm not an expert in the field of the video editing software):

    (1) in the wave of the video, I can easily add photos and movies to a project simply by drag-and - drop from Windows Explorer. First, it seems, the only way I can add photos and videos to a project is to import media, and then drag them from the 'library of project' to the timeline. Is it possible to drag-and - drop a photo directly from Windows Explorer in a timeline? If so, please tell me what stage of base, Miss. :-)

    (2) is it possible to get a glimpse of what will look like a transition before adding to made the transition to film?

    (3) when I add a photo/video library project, I have to hold the CTRL key to have a 'ripple' Insert (for example, push everything into the exit delay). Also, I have to hold the CTRL key to make a 'ripple trim. Is it possible to define these actions by default, so I don't have to hold down the CTRL key for these?

    (4) Lastly (for the moment :-)), in Roxio Videowave I could easily change the volume of an audio clip in the timeline just by clicking on the average line goes through the sound wave and dragging upwards or downwards.) I can't know if there is a similar average easy to do in Premiere Pro.

    Any help is appreciated! Again, sorry if these are basic stupid questions, but the first is currently well above my level of experience.

    Thank you! :-)

    (1) is there a way to drag and drop a photo directly from Windows Explorer in a timeline?

    First, no, it does not - at least since the Explorer himself. You must first import the files (you can drag and drop them in the Panel project/bin) and then edit them in sequence. However, you can try on the media browser; go to window > Media Browser so you don't see it. Media browser will give you an interface of type Explorer that you can use to drag files directly from the folder structure on your hard drive in a sequence; When you do so, they will simultaneously be imported into the project.

    (2) is it possible to get a glimpse of what will look like a transition before adding to made the transition to film?

    Nope; Just try them until you find one you like. Then memorize

    (3) when I add a photo/video library project, I have to hold the CTRL key to have a 'ripple' Insert (for example, push everything into the exit delay). Also, I have to hold the CTRL key to make a 'ripple trim. Is it possible to define these actions by default, so I don't have to hold down the CTRL key for these?

    Nope; those who are wired. It will become automatic for you after a while.

    (4) Lastly (for the moment :-)), in Roxio Videowave I could easily change the volume of an audio clip in the timeline just by clicking on the average line goes through the sound wave and dragging upwards or downwards.) I can't know if there is a similar average easy to do in Premiere Pro.

    You probably don't have the volume adjustments or keyframe activated for your track. Check out the following screenshot:

    You can select "Show clip keyframes" (which lets you keyframe other effects via the menu drop-down on the clip) or "Show Clip Volume" that shows just the volume effect. A yellow line appears through the waveform; You can drag up and down to adjust the total volume of a clip, or use the control key and click the rubberband to add nodes or key images so that you can increase the audio. You can also control click a keyframe to germinate the handles so that you ease in or ease the level. Note that you can also select the 'Track' options, but (as his name suggests) to set the level of the entire track and not individual clips.

  • Is it me or the transformation of each action in CS4 is missing something?

    Hello

    I used to play a lot in CS3 with the transformation of each action and made some great and interesting geometrical things with it... i could make a random shape, and then selecting Transform each (I don't remember if she had the same name in cs3) and checking the preview option I could play a lot with the slides and the angle and the number of copies, etc. - this way I colud beautiful, create circulation models on site, only of a simple shape, with many possibilities of Diversification of the design.

    the ONLY thing that in CS4, is missing now is the field "number of copies". Instead, there is the button 'Copy', making a single copy and close the Panel. so annoying...

    I did something wrong during the installation of the program, I missed a check, or is it an option somewhere in the preferences, which could allow the field "number of copies"? I can't imagine that they missed this one Express option...

    Effect > distort and Transform > Transform is what you are looking for.

    Similar to the transformation of each order, but not the same thing.

  • Win7 and CS4 brush questions +.

    I had CS4 on my computer when I switched to Win7. Since then, my brush, in larger sizes, was an odd oval V. In addition, the zoom tool does not correctly. I tried to update CS4 and it fails. I removed the preferences file and changed the size of my text, such as recommended. I just uninstalled and reinstalled. Nothing works. Any suggestions?

    OK, it's a laptop. I should have asked this question.  The extended part shows a mobile Intel express chipset. Unless the manufacturer of the laptop is updating the chipset it not there no updates for it.

    As gener7 pointed out, it looks like the Intel express chipset will not correctly work with CS4. I would look to see if there is any updates to driver for it.

    OK, I found the update page for intel. Given that you have installed windows 7, I think that maybe you do not have some updates that are on this page. You must choose windows 7 32-bit or 64-bit. When you do this a list will be displayed. Read those who say makes you just install the operating system. Also, there is an Intel Chipset Identification Utility, which looks pretty new, which may require download. Can't hurt.

    When you download the desktop, make sure that you right-click on the icon and run as admin. Reboot too. Hope this helps, or because you just bought the laptop support people are able to help you if need be.

    ine http://Downloadcenter.Intel.com/SearchResult.aspx?lang=eng&ProductFamily=graphics&ProductL laptop + graphics = + controllers & ProductProduct = Mobile + Intel % c2% ae + 4 + series + Express + Chipset + family & ProdId = 2991 & LineId 1101 = & FamilyId = 39

    You can also go the laptop support site to see if there are any windows 7 updates. I would like to do this first.

  • 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.

  • Photoshop CS4 and Question print Mountain Lion

    I recently downloaded CS4 on my new Macbook running Mountain Lion Pro retina, and I am not able to print on my Epson 3800 printer CS4 versions. When I hit the "print" key, on the Epson 3800 printer light flashes once, but nothing happens.  The file does not even get sent to the print queue.

    Photoshop CS4 otherwise works perfectly well on my Macbook Pro retina.  In addition, other applications on my Macbook retina print perfectly on my Epson 3800 printer.  For example, I can print from Aperture for the Epson 3800 printer very well.  I use the latest Epson driver on Epson site.

    Any suggestions would be greatly appreciated.

    Hi Peter,.

    Since your Epson 3800 printer works well with other applications, a workflow work around would be to export your Photoshop file in a different format (for example, .jpeg, .png, .tiff or same .pdf according to what is your content). By exporting it in another format, you can open it using other applications (such as Acrobar Reader or preview) and print it from there. While this isn't the most ideal lsolution, it should do the trick if you're in a hurry to print.

    To help identify and solve this problem in the long term, you can take a look at this help page: Trouble Shooting printing problems, Photoshop CS4 Mac OS.

    This useful page lists all possible things, that you can do to reset it or fix the problem, it also lists a number of alternatives.

    I hope this helps!

    Clarice

  • GREP question - space before am &amp; pm

    Hello

    I wonder if there is a GREP which will find a number with an am or pm and add a space between the number between the am or pm?

    Compose my contributors to the magazine that I keep typing time as "19:00", for example, our style says there should be "19:00". This change by hand is a pain.

    Thank you!!!

    To find

    (\d+) (am: pm)

    Implement

    $1 $2

  • [CS3] GREP question

    I use the following code to find all compound words:

    (\w\w+)-(\w\w+)

    However, if the first word has initials, such as the "U.S.-China", it does not find it.

    So I change the code to be:

    (\w(.?) \w+.?) -(\w\w+)

    This method works. GREP is now any compound word if there are initials but when there is no initials, she also selects the last letter of the word from the speaker before. For example, what is in parentheses here is selected:

    e [e mid September]

    Why is that happening and how can I solve this problem?

    Thank you

    Tom

    It seems to work because the only period is a wildcard character 'any character'. So, it is the period in your 'US', but in addition it also matches any character, including a previous space, as you saw.

    Use \. to escape from the ordinary meaning of the period and change his behavior as the code of her litera.

  • Grep Question Placement. ?

    Hi all

    I would like to make the InDesign grep search and replace method to reach below substitutes.

    The requirement is the third line of the text he had move on the first line with carriage return, is it possible instead of Grep.

    Note: I placed is the content for the sample, but live a dynamic content.

    I tried myself with the peace of code here.

    app.findGrepPreferences = app.changeGrepPreferences = null;

    app.findChangeGrepOptions.includeFootnotes = false;

    app.findChangeGrepOptions.includeHiddenLayers = false;

    app.findChangeGrepOptions.includeLockedLayersForFind = false;

    app.findChangeGrepOptions.includeLockedStoriesForFind = false;

    app.findChangeGrepOptions.includeMasterPages = false;

    app.findGrepPreferences.findWhat = "Blabla (\\d+.\\d+)\\r(*.). \\r|| blah-blah-blah. \\r";

    app.findGrep ();

    Thanks in advance.  Any suggestion to find the exact model by using Grep expression.

    Kind regards

    Imagine

    Imagine them salvation.

    Please find below snapshot is easy to understand for you.

    app.findGrepPreferences.findWhat = "^(BLABLA \d+.\d+\r)(.+\r)(\|\|bla-bla-bla\|\|\r)";
    

    THX

    csm_phil.

  • 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.

Maybe you are looking for

  • HP Pavilion Elite HPE-575 has: the graphics card upgrade

    Hi I want to know if a GTX 950 oc 2gbddr5 graphic card is compatible with my HP Pavilion Elite HPE - 575 a pc, if someone can shed some light on this would be very appreciated

  • AT - flash player not installed or not able to install.

    Hi all Any help would be appreciated.I have one excites running pure jelly bean, I can't use any flash drive on chrome/Firefox etc. I have an error message that says: it is not supported by this device. Its a real problem trying to scour the web.I've

  • Error code 39 on DVD player?

    My dvd drive is not being recognized. Device Manager gives a code 39. When I try to update the driver, I said that I have the latest driver available. Equipped with Vista.

  • How can I get my pc out of safe mode

    How can I get my pc off moder safe. Reset did not have it.

  • Can't download app update of lightroom cc 2015?

    I had already downloaded the recent update on photoshop cc 2015 today without any problem, but could not enter the lightrm cc 2015 app update to download. Now, I get undefined error message.  How can I correct this situation so I can't enter the upgr