#1
|
|||
|
|||
Can you check the "find whole words only" box when using characters?
Hi there, I was wondering if it is possible to check the "find whole words only" box when you are trying to find characters/emoticons (such as :/ or >:/) using ctrl+f?
This is my problem in a more detailed explanation. I am trying to pluck out and replace the characters that create an emoticon that looks like this: :/ . However, I want to leave all the emoticons that look like this: >:/ . I know that you can be specific when taking out a certain string of words (such as only replacing the words "cat" with the find whole words function while being able to keep "cats" since they do not match completely with "cat") but can this also be done for things that are not words or numbers? I am using Word(ver 10.1 2001) on a Mac. If there is any confusion with my problem, I'd be more than happy to clarify. Any help would be appreciated. Thank you. |
#2
|
||||
|
||||
Hi pimpong,
You can use a wildcard Find/Replace, where: Find = ([!>]):/ Replace = \1
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thank you so much macropod!
I tried that and it totally worked! Although I do not know exactly what it means. If you would not mind, could you clarify that a bit because would actually really like to know what it is telling the find box to do. Also, another problem just popped up for me (I am not sure if I should just make a new thread or not) and I am trying to take out characters that look like this ^_^ but every time I do it, I get a "^_ is not a valid special character for the Find What Box". Is there a way around this so that I can replace the ^_^ with the word "smile"? Thank you again for any and all the help! |
#4
|
||||
|
||||
Hi pimpong,
In a wildcard Find/Replace, the Find expression '([!>]):/' uses parentheses (ie '()') to delineate the first part of the search term, because we'll want to use it later. The first part of the search term is actually just '[!>]'. This tells Word to find a character that is not a '>'. The rest of the expression (ie ':/') says what the character in the first part of the search term has to be followed by. So, we're telling Word to find any ':/' string that is not preceded by '>'. The Replace expression simply says to retain whatever is in the first set of parentheses (ie the character that is not a '>' is). As for the second part of your question, you and use an ordinary Find/Replace, where: Find = ^^_^ Replace = smile
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
thanks again macropod!
Ok, so I think this is hopefully the last problem I have. I am now able to find the characters that look like ^_^ but now I need to take them out and replace them but I need to keep the emoticons that look like (^_^). This is similar to my first problem but I tried doing: Find: ([!(])^^_^ Replace: happy However, when I do this it tells me "^ is not a valid special character for the Find What Box or is not supported when the Use Wildcards checkbox is selected" Is there anyway to keep (^_^) while taking out ^_^? Thanks so much for your help and any other help I can get is greatly appreciated. |
#6
|
||||
|
||||
Hi pimpong,
In a wildcard Find, ^ acts as a control code for passing ASCII codes. That's why you can't use it directly. The same restriction applies to a number of other characters (eg {}[]\?#*()<>). So, if you want to find them, you need to insert ^ followed by the corresponding ASCII code or, in some cases, \ followed by the character. See Word's Help file for details. If there's always a space before the ^_^ when it's not part of a (^_^) string, simply insert a space at the start of the Find and Replace expressions. Otherwise, you could use a wildcard Find/Replace, where: Find = ([!(])^94_^94 Replace = \1happy In this case, the ^94 acts passes ASCII 94 (ie ^) to the Find expression as a string rather than as the literal ^, and the Find process decodes it.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
Thank you again macropod!!!!!
You are a lifesaver! I think I can finally finish my project now. Thank you so much! I am extremely grateful for all your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Style doesn't enforce "Do not check spelling" | Jennifer Murphy | Word | 7 | 01-30-2012 12:51 AM |
Is there a way to use "find/replace" to find italics words? | slayda | Word | 3 | 09-14-2011 02:16 PM |
I searched for "fatta" but Word can't find "Fatta" or "FATTA" why? | Jamal NUMAN | Word | 1 | 07-14-2011 02:05 AM |
Find & Replace words with "/" prefix & suffix | tollanarama | Word | 4 | 01-25-2011 02:19 AM |
How to stop "replace"'ing new words (in desperate need of advice) | bme081 | Word | 6 | 11-02-2009 05:57 AM |