How do I find & replace a single character?

Am using Adobe Acrobat Pro....
The find/replace box pull down has "Whole Words Only" checked and I cannot uncheck it.  How can I find and replace a single character throughout a document?

That's just how it works. You can "find" anything, but you can only "replace" whole words. As soon as you click to open the "replace" section of the dialog the search settings are locked into their basic states, even if you don't enter a replacement string (but that part's a bug).
The simple answer is that you cannot replace all instances of one character using Acrobat's inbuilt tools. You're expected to edit the document outside of PDF and recreate it.

Similar Messages

  • Find & replace a single character

    I have a long document and I want to change all the commas to a comma with a -300 kern. Not all the characters... just the commas.
    How do I do that?
    thanks
    c.

    A good Chinese font has several commas. At a minimum there should be two, a "full-width" version (one whose spacing equals that for regular Chinese characters) plus a "half-width" version spaced to go along with the ASCII letters in the font. (Some recent Chinese fonts use proportional spacing for their ASCII characters, so technically they are no longer "half-width.") Full-width commas may be further divided into those designed for setting vertically or horizontally (full-width forms centered in the space are intended to be ambidextrous). Thus the Glyph palette shows 4 variant forms for comma in the Adobe Fangsong Std that comes with IDCS3 (and note that earlier versions show fewer). Other ASCII punctuation marks are treated similarly, but there is no ASCII equivalent of the Chinese "half-comma."
    Sometimes a handy trick is to use a Japanese font for punctuation in text that is otherwise Chinese because InDesign can automatically remove excess spacing around Japanese punctuation. For text that is primarily alphabetic, with occasional strings of Chinese, I usually use punctuation from the alphabetic font; when the Chinese string includes a comma in the middle, I then make sure it's followed by an alphabetic word-space.
    Good luck!
    David

  • How do I globally replace a bold character override in FM10?

    How do I globally replace a bold character override with a specific character format from the character format catalog in FM10? I am not concerned about filtering for specific paragraph tags.
    Thanks,
    Marc

    This is far as I've managed …
    apply the character style in question to a word, then use Edit > Copy special to put the character style in the clipboard
    use Find/change to locate Character format override
    if this finds a local override you want to clean up, click [Change & find]
    Not global in the sense "sort out my whole book with one click", but perhaps a step in the right direction.
    Off-thread question: what's the general feeling about formatting for step 3 – is it OK to be informal and start an instruction with "if"? I like to explain the condition before giving the instruction, to avoid tripping up people like me who tend to process strictly from left to right :-} An indented paragraph after step 2 "If … then continue to step 3" would be thorough, but seems a bit clumsy.

  • How can if find the most repeated character and number ???

    Hi,
    I have a question. For instance, if we have a text file which contains:
    aaabbbhhhhhhtttttsjs12366
    How can i find the most repeated character and number. I have to add this code to the following program:
    I will aprreciate if you can help.
    Regards,
    Serkan
    import java.io.*;
    public class LineLen {
         public static void main(String args[]) throws Throwable {
              final String filename = "deneme1.txt";
              BufferedReader infile = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));
              String line = infile.readLine();
              int linenum = 0;
              while (line != null) {
                   int len = line.length();
                   linenum++;
                   System.out.print(linenum + "\t");
                   for (int i = 0; i<len; i++)
                   System.out.print("*");
                   System.out.println("");
                   line = infile.readLine();
    }

    For a small alphabet like English, array migt be used:
    //in a for loop
    ++array[s.charAt(i)];For a big alphabet like chinese, HashMap might be barely used:
    map.put(s.charAt(i), increment(map.get(s.charAt(i))));
    // increment is a user defined method, possibly for an Integer object,
    // that returns a new Integer object

  • How do I 'Find & Replace' with control characters - paragraph, carriage return, tab

    In Pages 4.3 (Pages '09) I could insert special characters into the Find & Replace fields.  It was great.  Excellent way to clean up & recover text from a pdf or html.
    In Pages 5.2 that capability seems to be gone.  When I turn on the special characters [Show Invisibles - shift-cmd-I], I can highlight said invisible, copy it, then paste it into the Find&Replace field.  Nope.  It goes in as a space, and the Find command only finds spaces.  Not the invisible that I was looking for.
    This was a major feature for me, folks.  Much better than Word's approach.  Now it is gone (I fear), and the Find & Replace is worse than Word's.
    How can I recover/attain this feature?

    I have struggled to find this "feature" for a while.
    It CANNOT be that Apple stripped out a core capability of even a basic text editor.
    Apple, a reply here because this is a F%$#$%^ joke if true.

  • How to implement Find & Replace

    Hello,
    I have a mini editor based on a JEditorPane. How can I implement find & replace function visually, like any editor does?

    Hi there,
    the latest stage of SimplyHTML implements find & replace. You can find all (app, docs, sources) at http://www.lightdev.com/template.php4?id=3
    A screen shot for the find & replace dialog it implements:
    http://www.lightdev.com/template.php4?id=34
    Online documentation for find and replace
    http://www.lightdev.com/doc/shtm/rel/help/topic16/topic173.htm
    Manual as PDF file (see chapter 'Inside SimplyHTML' -> 'Stage 11: Find & Replace')
    http://www.lightdev.com/doc/shtm/rel/Help.pdf
    API docs (including find & replace functions)
    http://www.lightdev.com/doc/shtm/rel/api/index.html
    Have fun
    Ulrich

  • How do I find/replace italics in a PDF?

    I would like to change all the italics in a PDF to a different font so they will be recognized when I convert the PDF to an InDesign file. Right now they're fake italics of an embedded font so when I convert the file they disappear and turn into regular text. I will be changing the fonts after I convert so I don't necessarily have to keep them an italic font, just something different so I'll be able to change them to italics later. I tried a couple sentences and made them Times New Roman instead of Janson Text 55 Roman and when I converted they stayed as Times New Roman and I was able to make them an italic font. Just wondering if there's a way to search the whole PDF and do a mass find/replace instead of scrolling through the whole novel and changing them manually?
    Any help would be greatly appreciated!

    "... find/replace italics ..."
    Ahh, sorry. You don't.
    (in context of a word processing like activity).
    Doing it manually with the "Edit Text & Images" tool?
    Well, that't keep one out of mischief.
    Be well...
    Message was edited by: CtDave

  • How can I Find/Replace a word on all cast members together rather than one at a time?

    I currently use Director 11.5.9 with Windows 7 64 bit
    I have some director movies I programmed years ago.  I included the file extension .dir when I used "go to movie" statements (I didn't know any better at that time).  For example, I would write, go to movie "alpha.dir".  I have now updated those movies to Director 11.5.9 and want to protect them by updating them to .dxr movies.  Obviously, the code "go to movie name.dir" won't work any more.  I need to take out the .dir extensions from every occurance in those movies.  Most all of them are cast scripts on buttons.  A few of them appear in score scripts.
    In searching this forum, I did find some tips for search/replace on ALL cast scripts, but when I attempted to follow them I did not find the options they suggested on the drop down menus.
    Can someone tell me the steps for going into a Director movie and telling the Find and Replace function to replace ALL occurences of ".dir" in Cast Scripts with ""?
    Currently, I am having to find them manually and replace them one at a time.  There are a LOT  movies with a LOT of occcurences of .dir, so this is far too slow.  I'm sure it can be done more efficiently.
    Any help than anyone can provide will be greatly appreciated.  I have a project that is coming due very soon and I don't want to delay it if possible.
    Dewey

    When you open any script in this movie and press CTRL+F it should open a search-and-replace text dialog with a "Replace all" button/option that does exactly what you are asking for - unless I've misunderstood.

  • Replace a single character in a textual column in sql server

    Hello,
    could you confirm to me that:
    UPDATE TableName
    SET LastName = REPLACE(LTRIM(RTRIM(LastName)), 'A', 'B')
    replaces every occurrence of character A with character B, in selected column, regardless 
    of the position of the letter A? (I.E., it could be only at the beginning of the last name, at the both i.e., at the beginning and somewhere in a middle etc....just any occurrence of it?)

    select REPLACE(LTRIM(RTRIM(lastname)), 'A', 'B') from tablename
    Yes, It will update all occurence of character 'A' of lastname.
    You can also execute the select statement for cross verfication
    -Prashanth

  • Replace a single character with Regular Expressions

    Hello,
    I would like to replace a character by a string.
    For example, "12<15" ---> "12&#xx;15"
    To that aim, I use the following code:
    String s = "12<15";
    s.replaceAll("<", "&#xx;");Unfortunately, it doesn't work. The string is not altered.
    What's the bug?
    Thanks for your help.

    try
    s = s.replaceAll(.....)
    Rgds

  • How to find an extended ASCII character

    Hi,
    I have a problem while reading from a InputStream with a BufferedReader. I�m trying to find out if an extended ASCII character is within a String made with readline(), but it always says no. Example:
    myString.indexOf('\u00D2')
    While debugging, I see that the character is a '?'.
    How can I find this extended ASCII character ('\u00D2') ? Is it an encoding matter?
    Please help!!

    You are using a default character encoding when you use BufferedReader, so the text you read is probably translated to some other character in some cases (two or more bytes can sometime make up a new unicode character depending on the encoding).
    You could try this:
    BufferedReader br = new BufferedReader(new InputStreamReader(in, "IS0-8859-1"));where in is your InputStream.

  • Find and print illegal character in a string using regexp

    I have the following simple regexp that checks for illegal characters in a string:
    String regexp = ".*([\\[\\];]+|@).*"; // illegal: [ ] ; @
    String input = "Testing [ 123";
    System.out.println(Pattern.matches(regexp, input));How can I find and print the character that is invalid??
    I've tried using the Matcher class togheter with Pattern but cant get it to work. :(
    Like this:
    Pattern pattern = Pattern.compile(regexp);
    Matcher matcher = pattern.matcher(input);
    matcher.lookingAt();
    int matchedChar = matcher.end();
    if (matchedChar < input.length()) {
        String illegalCharFound = String.valueOf(input.charAt(matcher.end()));
        System.out.println(illegalCharFound);
    }What am I doing wrong?

    1. You call lookingAt(), but you don't check its return value, so you don't know if the regex actually matched.
    2. matcher.end() returns the index of the character following whatever was matched, assuming there was a match (if there wasn't, it will throw an exception). So either it will point to a legal character, or you'll get a StringIndexOutOfBoundsException because an illegal character was found at the end of the input. The start() method would be a better choice, but...
    3. Your regex can match multiple consecutive square brackets or semicolons (and why not put the at-sign in the character class, too?), but you're acting like it can only match one character. Even if there is only one character, group(1) is an easier way to extract it. Also, if there are more than one (non-consecutive) illegal characters, your regex will only find the last one. That's because the first dot-star initially gobbles up the whole input, then backtracks only as far as it has to to satisfy the rest of the regex. If your goal is to provide feedback to whoever supplied the input, it's going to be pretty confusing feedback. You should probably use the find() method in a loop to pick out all the illegal characters so you can report them properly.

  • How can I remove all content between two tags using Find/Replace regular expressions?

    This one is driving me bonkers...  I'm relatively new to regular expressions, but I'm trying to get Dreamweaver to remove all content between two tags in an XML document.  For example, let's say I have the following XML:
    <custom>
    <![CDATA[<p>Some text</p>
    <p>Some more text</p>]]>
    </custom>
    I'd like to do a Find/Replace that produces:
    <custom>
    </custom>
    In essence, I'd like to strip all of the content between two tags.  Ideally, I'd like to know how to strip the CDATA content as well, to return the following:
    <custom>
    <![CDATA[]]>
    </custom>
    I'd much appreciate any suggestions on accomplishing this.
    Many thanks!

    Thanks much for your response.  I found David's article to be a little thin with respect to examples using quantifiers in coordination with the wildcard metacharacters; however, I was able to cobble together a working expression through trial and error using the information he presented.  For posterity, here’s the solution:
    Find:
    <custom>[\d\D]*?</custom>
    Replace:
    <custom>
    <![CDATA[]]>
    </custom>
    I believe this literally translates to:
    [] = find anything in this range/character class
    \d = find any digit character (i.e. any number)
    \D = find any non-digit character (i.e. anything except numbers)
    *? = match zero or more times, but as few times as possible (i.e. match multiple characters per instance, but only match one instance at a time, or none at all)
    I’m still not sure how to effectively utilize the . wildcard.  For example, the following expression will not find content that ends with a number:
    <custom>.*?[\D]*?</ custom >
    I'm presuming this is because numbers aren't included in the \D metacharacter; however, shouldn't numbers be picked up by the .*? expression?

  • GREP to find single character

    I put together a GREP style inside of a paragraph style that is supposed to find all instances in the paragraph where there is one single character inside of parethesis. This is what I typed in:
    (?<=\().(?-\))
    and I assigned a character style that is supposed to change the character inside the parenthesis, but not the parenthesis themselves.
    But it's not working. Can anyone help me with how to fix it?

    For any other readers greppling with same,
    (?<=\().(?=\))
    [Breakdown:
    (?<=x) Lookbehind string x
    \(  .. which is an open parenthesis -- escaped, because it's a GREP special character
    .  Any character. Any at all! Imagine that!
    (?=y) Lookahead string y
    \)  .. which is a closing parenthesis -- see above]

  • How do I find file names containing special character

    hi all
    I need your help with a code that deals with finding file names containing special characters like * / \ : ? " |
    the reason is I am doing a project that transfer files and folders from Mac to Windows. But names containing above characters cant be moved to windows.
    the part of the code I write is like this
    set illegal_syntax to paragraphs of (do shell script "find " & quoted form of POSIX path of oneFolder & " -name '*'")
    if (illegal_syntax is not equal to {""}) then
    repeat with each_record in illegal_syntax
    do shell script "/usr/bin/ditto -c -k -rsrc --keepParent " & quoted form of each_record & space & quoted form of (each_record & ".zip")
    end repeat
    end if
    First of all that '' will gives me an error.
    Second, what i tried to do is once the file/folder is found, zip it at current location. But the problem is how can I zip it without the special character? or should I just give it a name, like "originalfile.zip";?
    Last, or maybe you have better idea to deal with this situation? BTW, I can not rename or delete the file/folder because customer won't allow me to do it.

    The backslash is used to escape characters in AppleScript, so if you want to use it in a string you need to escape the escape character, for example "\\*".
    You could set the name of the archive by replacing the illegal character with another one, such as an underscore:
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; border: 1px solid #000000; width: 720px; color: #000000; background-color: #FFDDFF; overflow: auto">set each_record to "some*file*name" -- example
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "*"}
    set the ItemList to text items of each_record
    set AppleScript's text item delimiters to "_"
    set each_record to the ItemList as text
    set AppleScript's text item delimiters to TempTID
    log each_record --> some_file_name
    </pre>

Maybe you are looking for

  • Correlation property of correlationSet "name" is not defined

    Hi. I have got strange problem with correlation property. I am using JDeveloper Studio Edition Version 11.1.1.5.0 with Oracle 11g Fusion middleware Version 11.1.1.5.0. I created BPEL process driven by EDA. All receive and pick activity are event driv

  • When I created my ebook, it's difficult to swipe back to the previous chapter.

    It's like my Chapters aren't linked or something. Going forward in my book is no problem, just tap and go but going backwards it stops at the chapter you're in. How can this be fixed? Thanks

  • System Centre Licensing Query

    I am trying to get my head around the licensing requirements of System Centre 2012. My scenario is going to be: 1 Server to act as a Central hub (System Centre 2012 Installed and running VMM, End Point, Client Configuration, etc.) 7 Servers running H

  • USB drive to Time Capsule : slooooow

    Hello, I have a Time Capsule with a WD usb drive attached to it (FAT32). My Macbook is connected via ethernet to the Time Capsule for max speed. When I copy a 700MB file to the Time Capsule, it takes about 6 minutes. When I copy the same file to the

  • Status checks not going away on restart

    We are accessing an aggregated project which is simply being hosted on our website, not a formal LMS. When a user completes the project and exits and the next user at the same station accesses the project, the status checks are still in place and, in