Try to use GREP to identify the beginning of a paragraph

I want to apply a character style to the first sentence of a paragraph. The challenge is that these are not always traditional phrases. They may begin with a decimal point or a number. Here are a few examples.

7.25 "bracelet diamond accent. Sterling silver. Reg. $340
Would that the character style applies to "7.25" bracelet diamond accent. »

.04 CT tw. Bracelet bracelet of diamonds to shine. Sterling silver. Reg. $720

Would the character style applies to '04 CT tw. Bracelet Diamond by sparkle bracelet. »

Diamond accent earrings. Sterling silver. Reg. $120

Would the character style applies to "diamond accent earrings.

I used [\l\u\d\.], but which apply the character style to too much text. I added the ^ at the beginning of the code, but that do not accomplish what I want to do, either.

Thanks in advance for any ideas on that.

Or this one: ^. +?. ( ? =\s\u)

(from the beginning of the first paragraph point which is followed by a space a capital).

Peter

Tags: InDesign

Similar Questions

  • Try to use GREP to truncate the names of some of the words...

    Hello

    I'm trying to find a way to GREP to select all the text strings that looks like this:

    12345678wieawoejfoiaw.jpg

    65434546wieawoejfoiaw.jpg

    23542398wieawoejfoiaw.jpg

    90989098wieawoejfoiaw.jpg

    23234567wieawoejfoiaw.jpg

    24326743wieawoejfoiaw.jpg

    and leave (replace) with just the first 8 numbers each find string.

    I remember something similar awhile back, when I break the type in some parts (such as numbers or characters and then go and get them back for the part to replace it, but I paint a white...)

    None of my friends GREP autour?

    Babs

    Top of me head * but something like this should do the trick.

    Search

    (?<>

    and replace them with nothing. We find everything on a single line that starts with 8 digits but 'brand' only non-digit so paragraph, you can replace safely with nothingness.

    You've probably used a simpler variant before, as

    ^(\d{8}).+$

    Replace with the first expression in parentheses, '$1', but mine should be more favorable to the document because it only removes and needs no more than absolutely necessary tocuh.

    * Holler if it does not work.

  • When you try to use windows media player, the wmploc.d11 file has a version number of 11.0.6002.18311 where to 11.0.6002.18111.

    When you try to use windows media player, the wmploc.d11 file has a version number of 11.0.6002.18311 where to 11.0.6002.18111.

    The following article is maybe worth a visit:

    (961047) WMP update after you one
    wmploc.dll on version error
    wrong number
    http://support.Microsoft.com/kb/961047

    Failure to solve the problem... and if you
    are comfortable editing the registry... it
    may be worth a try to remove the following text
    Registry keys:

    (FWIW... it's always a good idea to create a system)
    Restore point before editing the registry)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\wmp.dll
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\wmploc.dll
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\\wmplayer.exe

  • How to create e-commerce site using adobe muse from the beginning to the end, please

    How to create e-commerce site using adobe muse from the beginning to the end, please

    Mylenium, why comment you on the forums of Muse? I've never seen a useful comment on these forums. You seem to just upset against Muse all the time.

    in any case, definitely go with widgets Ecwid and J-26. They are the best.

  • How to insert a jump of paragraph and character at the beginning of a paragraph using Grep

    Dear community!

    I'm stuck...

    I have several books in indesign, I need to export to epub. I have a standardized procedure to be able to assign the task to the students.

    My problem I have I have a paragraph in style "Title2" and I would break the paragraph before that is of a 'new page '.

    This is the theory that I thought about:

    -find and change, find the style "Title2".

    -Insert a special character + paragraph break before the first character in the paragraph

    -with a second discovery and change search the special character

    -Replace with nothing and the model with the 'new page '.

    My question is how to insert with grep (?) before the first character no matter what.

    Please help me!

    Thanks in advance

    ND

    This GREP should add a page preak befor any paragraph:

    Find: ^. and set the format to find your title paragraph style

    Change of: ~ P $0

    That this research is looking for the first character in any paragraph and its replacement by a page break, and himself.

  • Error message when you try to use Windows media Player: the wmploc.d11 file has a version number of 11.0.6002.18111 where 11.0.6001.708 was expected

    My windows media player all of a sudden started giving the message "the file wmploc.d11 has a version number of 11.0.6002.18111 where 11.0.6001.708 was expected.   It started just today and I used it OK so far.    He says then I would go on the site to download the correct version. I click Yes and then try to download windows media player 11 for vista, but it then tells me that this does not apply to my system.  Any help would be appreciated,

    Thanks in advance.

    My windows media player all of a sudden started giving the message "the file wmploc.d11 has a version number of 11.0.6002.18111 where 11.0.6001.708 was expected.   It started just today and I used it OK so far.    He says then I would go on the site to download the correct version. I click Yes and then try to download windows media player 11 for vista, but it then tells me that this does not apply to my system.  Any help would be appreciated,

    Thanks in advance.

    =====================================
    It might be worth a try to do a system restore
    Safe mode for one hour before the beginning of the question:

    Using Windows 7 or Vista System Restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    And/or... Maybe the article would be worth the trip.

    (961047) WMP update after you one
    wmploc.dll on version error
    wrong number
    http://support.Microsoft.com/kb/961047

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Error 150:30 when you try to use an application for the first time after installation

    I have CS 5.5, but need to temporarily install the suite CS4, but when I try to use it after installing a pop-up windows is displayed with the message "Error 150:30" and ask me to restart my computer before using it. I'm sure that there is only one computer using my serial number, but when I try to proof on a second computer it tells me that the serial number is enabled in both computers already.

    Hello

    Error 150:30 refers to licensing. You must contact customer service and verify the number of activation of your software. If it's good, then you can follow these steps as appropriate for your operating system:

    http://kb2.adobe.com/cps/512/cpsid_51260.html for MAC OS

    http://kb2.adobe.com/cps/405/kb405970.html for OS WIN

    I hope this helps.

  • Why do I get an error when you try to use a link in the forum?

    I just tried to use the link that city offered to redirect some users with the login procedure and I got an error:

    The thread specified [0] was not found.

    I had the same thing when you try to use a similar connection a few days previously. They sound like something that I could benefit from it, but I can't ' get to them.

    The URL looks like to Re: logon username determines the page that opens, how can I achieve this?

    Any ideas?

    Thank you

    Gregory

    P.S. I'm using Firefox 3.0.4

    Yes, if you delete the character of diamond, you are directed to a thread in the APEX support forum...

    Thank you

    Tony Miller
    Webster, TX

  • Lowercase letter at the beginning of a paragraph.

    I have a PDF file that I converted a document. INDD and many paragraphs are broken up in the middle. I GREP search to find a tiny beginning of a paragraph (\r^\l), now how can I remove the paragraph mark, but keep the letter tiny?

    I hope that makes sense!

    Thanks for your help!

    Find \r(?=\l) and leave change on raw land, or put in a space (probably a better idea, because you're not sure if you need and you can easily start a new search to remove multiple spaces).

  • Why my Windows Media Player uses Japanese to identify the contents of a CD that I play?

    When I insert an audio CD into my E drive and try to play it, the contents of the disc is all displayed in Japanese that I can't read.  How can I reset my computer so that the title of the CD and the content is in English?

    Hello

    Thanks for posting your query in Microsoft Community.

    From the description you provided, I understand that when you play the audio CD, the content of the disc appear in Japanese language.

    1. What is the operating system installed on your computer?

    2 have had any changes made to the computer before the show?

    Please follow the steps and check out them.

    (a) click Start, in the search box, type Windows turn features on or off.

    (b) click on turn Windows features on or OFF.

    (c) access to media features and uncheck Windows Media Player.

    (d) click OK, restart the computer

    (e) now go to multimedia functions and place a check next to Windows Media Player.

    (f) click OK, restart the computer

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • BlackBerry Smartphones Firewall error when you try to use new applications of the AppWorld

    I have a BB "BOLD" (out of business).  When I try to register accounts with new App World, as SlackerRadio applications, I get this message:

    "The request... a attemtped to open a connection to a location inside the firewall and outside the firewall which is not allowed by your policy."

    Because I don't have a BB company, I'm not aware of any it policy or how I can adjust.  Everyone is having these issues?

    Thank you

    Jacquie

    • Carrier: AT & T
    • BlackBerry model: "BOLD"
    • BlackBerry OS (can be found in Options-> on): v.4.6.0.167 (Platform 4.0.0.157)
    • Version of App World (can be found by going to Options-> Advanced-> Applications) 1.0.0.28
    • BIS or BES (personal use or business use): BIS

    JacquieSamples,

    Just to be sure your BlackBerry is not a test of policy COMPUTER looking in Options-> Security-> General settings and scroll down to see if there is anything that is listed next to the field name of the IT strategy, if you see something there default even you have a COMPUTER policy.

    This article also shows how to reset a firewall prompt, you can have on your device:

    http://www.BlackBerry.com/BTSC/KB04050

    Please let us know if this solves your problem.

  • ORA-17629: when you try to use database active for the construction of Eve

    Hey guys, I did research on it for hours and I tried different things but when even cannot get a handle of what Miss me...

    I'll try the 11 g physical creation Eve to help "...". of the active database"instead of the old way. I keep running into a brick wall. Any help would be appreciated.
    DB version is 11.2.0.2 on AIX

    This is what has been done...
    1 created pfile on primary and standby
    2 created orapwd file and transferred to the standby
    3 standby db is nomounted (startup nomount) and listener is running

    cemabc_p = main forum nom_unique
    cemabc_s = unique name of instance eve

    im commands running in mode ensures:
    RMAN target backup_admin/temabc@cemabc_p catalog rman/qaabc@rmnabc

    AUXILIARY backup_admin/temppw@cemabc_s connection
    RMAN > DUPLICATE TARGET DATABASE BEFORE database NOFILENAMECHECK active;

    From February 22, 13 Db double
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 7 type of device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / oracle/app/oracle/product/11.2.0.2/dbs/orapwcemabc' auxiliary format
    ' / oracle/app/oracle/product/11.2.0.2/dbs/orapwcemabc';
    }
    execution of Script memory

    From backup February 22, 13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 112 type device = DISK
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 22/02/2013 14:53:52
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the ORA_DISK_1 channel at 22/02/2013-14:53:52
    ORA-17629: unable to connect to the remote database server
    ORA-17629: unable to connect to the remote database server



    What ive tried so far... I tried to connect from the primary database:
    adcabc1: / home/oracle/dba > rman target backup_admin/temabc catalog rman/qabc@rmnabc

    Recovery Manager: release 11.2.0.2.0 - Production on Fri Feb 22 14:52:51 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: CEMABC (DBID = 4229695208)
    connected to the recovery catalog database

    RMAN > catalog resync db_unique_name all;


    from full resynchronization of the recovery catalog
    full complete Resync

    from full resynchronization of the recovery catalog
    full complete Resync

    from full resynchronization of the recovery catalog
    full complete Resync



    Still no luck.
    I have cemabc_p and cemabc_s both primary and standby tnsping succuessfully.

    Im sure I'm missing a step, if it didn't there was more information need... Let me know

    Ok

    I guess that

    connected to target database: CEMABC (DBID=4229695208)
    connected to auxiliary database: CEMABC (not mounted)
    

    On the remote server's right? If so, it shows that RMAN was able to connect to the main server and the local static connection. So the problem is probably that the principal server cannot connect back.

    You need an entry for the CLONE in your TNSNAMES file. ORA on both servers. Can you confirm this?

    Can you post the listener.ora for clone entry?

    I'm double control it

    rman target backup_admin/temabc@cemabc_p catalog rman/qaabc@rmnabc
    

    (Above is odd)

    Mine:

    rman target=sys/@recover2 auxiliary=sys/@reclone
    

    I use SYS/password both for him to work.

    Also, make sure that these are defined

    listener.ora
    INBOUND_CONNECT_TIMEOUT_ = 120
    
    sqlnet.ora
    SQLNET.INBOUND_CONNECT_TIMEOUT = 120
    

    Restart the listeners later

    Best regards

    mseberg

    Published by: mseberg on February 22, 2013 15:10

    Published by: mseberg on February 22, 2013 15:11

  • When you try to use a link on the web or email that I get a refusal of connection message 'unavailable web' error 102 I have windows XP dell 4700C

    Error 102

    I used a clean for nothing does not program

    Impossible to get on a web link or email

    Hey inflation,

    ·        What browser do you use?

    ·        You did it changes on your machine before this problem?

    You can follow these steps and check if the problem persists.

    a. type the following command in the start menu > run box, and then press ENTER:

    Inetcpl.cpl

    The Internet Options dialog box appears.

    b. click connections > network settings > and uncheck use a proxy server for your LAN.

    c. click OK, and close the Internet Options window.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • In Windows Defender, remove them, disable and enable buttons will activate not when I try to use them to manage the start up programs.

    I'm looking to speed up startup of Windows Vista.  I had used Windows Defender to disable startup programs.  It worked as described.  This time, delete, disable it and enable buttons would not activate or turn on when I chose a program to turn off.  Any suggestions?

    Defender is probably not necessary with McAfee...

    Both offer a real - time sweep and may potentially conflict with each other.

    You should never have more than one security product installed on the PC, providing active protection / scan. This can cause performance problems, system instability and conflicts between programs and can affect all installed antivirus product efficiency.

    Vista is historically a slow start... I have improved the startup of my Vista laptop with a reinstallation of the operating system, without installation of I-tunes (the computer was used by my daughter-in-law) and I added 1 GB of RAM.  It starts very well now.

    McAfee is known to adversely affect the performance of the computer - I him have not used for many years.  The last time that I removed McAfee from a slow computer, that it was like the addition of several gigabytes of RAM to view was an immediate performance improvement.  If your computer has a good processor (preferably bicoeur) and several GB of RAM must be able to run Vista (and McAfee) however.

    Good luck...

    http://www.AV-Comparatives.org/

    http://www.dslreports.com/Forum/r25776413-2011-anti-virus-poll

  • WTF? I'VE UPDATED AND PURCHASED PRODUCTS BY PHONE, BUT CAN NOT INSTALL CONFORMATION LINKS SENT? LINKS WANT ME TO PAY AGAIN? I TRY TO USE "CONTACT US" (IN THE HOPE TO GET A PHONE # OR AT LEAST AN E-MAIL ADDRESS TO SEE WHAT'S THE DEAL, BUT HE SAYS THAT)

    OK, I'm getting very frustrated. I have (and I do not remember how I did it) found a phone # to contact Adobe to ask what products I need to buy to be able to accomplish what I need to do. The gentleman on the phone told me that I needed and then I was ready to go there and order my products online; but the guy told me that he worked in the commission and would take care of my purchase right then. Good *! I received an e-mail of confirmation of my purchase and order # to get my Acrobat Pro purchase, but whenever I go and try to download PAY MY products, it sends me to the page to give them all my Info for method of payment... Now I can't find a phone number and an e-mail link to find out what the hell is the deal. Incredibly disappointed that the company of this caliber does solve an inexpensive order, but it's something they sell and I need, but when I click on "help / contact us" waiting to get a phone number or email for sure my situation, he tells me that my help is limited to F*#%*@g Forum help? I received the best little unknown freeware customer service sites then this $multi-billion company. I hope that they respond to this message, because I'm completely disgusted and I don't know that it's because I'm in the hotel industry, and this society needs serious help in this area.

    This is where buy you a subscription plans Adobe pricing and membership creative cloud | Adobe Creative Cloud

    -Subscription conditions https://www.adobe.com/misc/subscription_terms.html

    -Purchase of FAQ https://forums.adobe.com/thread/1926340

    -Special photography Plan includes Photoshop & Lightroom and Bridge & Mobile Lightroom

    I've never heard of a sales person Adobe working on commission... I think you called a wrong number and you have scammed

    I never called him, but a number I've seen mentioned in a post of the forum is 800-585-0774

Maybe you are looking for