I want to use a GREP style to italicize a portion of a company name. For example: "In*Design*." Design is only italicized when it follows the word "In" but "Design" never appears italicized when it stands by itself.
InDesign GREP: Italicized specific characters
1.3k Views Asked by user3795140 At
1
There are 1 best solutions below
Related Questions in ADOBE-INDESIGN
- creating many reports from a single template - what is this called?
- InDesign: How to properly use placeXML()
- Specifying Encoding While Placing Files In InDesign Using Extendscript
- Read IDML file in Java
- Based On Styling Indesign Javascript Scripting CC
- Why "FindTextPreferences" not working?
- Select all text in thread in InDesign?
- How can we convert CMYK to RGB in illustrator script?
- What could be the cause of this if condition getting skipped even the condition inside is True?
- How to copy and paste indd file content into an another indd file?
- How can I get the text to which a Nested Style is applied in InDesign
- Package indesign document with SDK c++
- Format text to bold
- EPUB Score catching
- Extract data from book(.indb) created with InDesign?
Related Questions in ITALIC
- how to make part of an output in italic - JavaScript
- Trouble Making Text italic when rendering an HTML document from Rmd via RStudio
- Why does java.awt.font.TextLayout.draw() result into incorrect spacing between Words/Characters when oblique(Italic/Bold Italic) fonts are used?
- Font face in sublime text 3 using Elementary OS
- regex for parsing italic text?
- Text editor in Java with sample functions for desktop application
- Make a node in a VB6 treeview italic
- Enable "run command prompt" shortcut in Ubuntu
- Italic Font not work for Chinese/Japanese/Korean on iOS 7
- Using italics in the title on an object from a dataframe
- Set limits for a discrete y-axis based on data and edit the y-axis labels
- Custom font in universal app
- Are there any differences between this 4 html elements?
- Jupyter / IPython Notebook text editing as markdown
- How do I get Lucida Grande italic into my application?
Related Questions in ITALICS
- Italics in Formatting Illustrator from Excel Spreadsheet using VBA
- How do you make just the x-lab label italics and NOT the y-lab label as well? (in R)
- Italicize word to the left, but set continued typing not in italics
- Displaying strings in italics using javascript
- ggsurvplot (Survminer) Customising the title (adding italics)
- Making axis labels italic when using names.arg (R)
- Italicizing Java text box
- Where is italics and bold in NSMutableAttributedString (Xcode)?
- iOS7 - Italic text in UIAlertView
- How to create a dendrogram with italics
- How to make just the name typed into the input box displayed in italics. Please look at this code
- How to make comments Italic in gVim?
- italics and normal text in a main plot title
- Locating tags in a string in PHP (with respect to the string with tags removed)
- vimrc make comments italic
Related Questions in GREP-INDESIGN
- Adobe Indesign JavaScript: using app.findGrep() and app.changeGrep() consecutively
- I wanna select specific text in parentheses using GREP in indesign
- Format PART of a specific word in InDesign
- InDesign Endnote Automation
- GREP to find a sequence of characters without a closing apostrophe
- Exclude multiple patterns with ^
- Is there a way of creating a multiple character lookbehind?
- How to bound images on page and having an individual text per image in a JSON file in InDesign+ title per page
- Regex select words longer than 4 characters but only one instance if duplicates
- Removing all language tags from InDesign file
- GREP Styles in Adobe InDesign
- Regex \A until \r syntax
- InDesign GREP find between
- Is there a way of formulating a GREP find and replace so that the first sub-expression is not changed but the second sub-expression is?
- How to find, and standardize the spelling of chapter and page references (Adobe InDesign)?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Piece of cake. Use Lookahead and Lookbehind codes to limit the match to "InDesign" only. Use word boundaries to make sure the entire word gets matched.
That leads to
where
(?<=\bIn)is the lookbehind part: only "Design" should match when preceded by "In". The\bbefore and after indicate a word break -- there may not be an additional word character before or after the phrase. So it will match "InDesign" but not "inDesign" (GREP is case sensitive by default), "wInDesign" (a word character before the\bword break), or "InDesigner" (a word character after the last\bword break).