A wildcard that represents any single character except newline or other special characters. Use two ampersands to indicate the union of two ranges. [ w&&[^1-9] represents all word characters except 1-9.
- Word For Mac 2018 Wild Card For Inclusive Numbers With Hyphen
- Word For Mac 2018 Wildcard For Inclusive Numbers With Hyphens
- MS Word is a powerful word processing tool from Microsoft. At times we find ourselves in a situation wherein we need to find and replace numbers in a Word document. It is quite easy to accomplish this using Find and Replace facility given in MS-Word.
- To count the number of cells that contain text (i.e. Not numbers, not errors, not blank), use the COUNTIF function and a wildcard.In the generic form of the formula (above), rng is a range of cells, and '*' is a wildcard matching any number of characters.
Active7 years, 5 months ago
How do I remove unwanted hyphens from some text I have copied out of a PDF into Word. The criteria is that I would like to remove any hyphen that does not have a space either to its left or right.
Currently, the words look like this because of the way they have been copied:
The qui-ck brown fox- jumps o-ver the lazy dog.
By the end, I only want the hyphen between fox and jumps to survive.Patrick BeardmorePatrick Beardmore
1 Answer
Try putting this into the Find box:
[! ]-[! ]
(note the spaces after the !) Make sure that 'Use Wildcards' is checked.Explanation:
[! ]
Any non-space character. The [
and ]
characters group patterns together while the !
negates it.Word For Mac 2018 Wild Card For Inclusive Numbers With Hyphen
![Word For Mac 2018 Wildcard For Inclusive Numbers With Hyphen Word For Mac 2018 Wildcard For Inclusive Numbers With Hyphen](/uploads/1/2/6/1/126164332/777006731.png)
-
This is the literal character -
So
[! ]
-
[! ]
is a -
with non-space characters on either side. Example character string that matches:
foo-bar
![For For](/uploads/1/2/6/1/126164332/388553924.png)
Example character strings that do not match:
Andrew LambertAndrew Lambertfoo- bar
foo - bar
foo -bar
foobar
, etc.6,89133 gold badges2525 silver badges4343 bronze badges
Not the answer you're looking for? Browse other questions tagged microsoft-wordfind-and-replace or ask your own question.
Best monitor for mac 2018. You can search for specific words, phrases, numbers, and characters, and automatically replace search results with new content that you specify. All visible content in the document—the main body text, headers and footers, tables, text boxes, shapes, footnotes and endnotes, and comments—is included in the search.
Search for specific text
- Click in the toolbar, then choose Show Find & Replace.
- In the search field, enter the word or phrase you want to find.Matches are highlighted as you enter text.
- To find words that match the capitalization you specify, or to restrict search results to the whole words you entered, click , then choose Whole Words or Match Case (or both).
- Click the arrow buttons to find the next or previous match.
In a table cell, Pages matches only the value that’s displayed, not the underlying value or formula. For example, if a recipe calls for “1/2 cup,” a search for “0.5” has no matches.
Word For Mac 2018 Wildcard For Inclusive Numbers With Hyphens
To see or clear recent searches, click the magnifying glass in the search field.
Replace found text
- Quicken premier 2018 sale. Click in the toolbar, then choose Show Find & Replace.
- Click in the Find & Replace window, then choose Find & Replace.You can also choose other options, such as Whole Words and Match Case, to refine your search.
- Enter a word or phrase in the first field.As you enter text, matches are highlighted. The first match is selected and highlighted in yellow.
- Enter the replacement word or phrase in the second field.Important: If you leave the Replace field blank, all instances of the text are deleted when you replace the found text.
- Use the buttons at the bottom of the Find & Replace window to review and change the text matches:
- Replace All: Replaces all text matches with the replacement text.
- Replace & Find: Replaces the selected match and moves to the next.
- Replace: Replaces the selected match with the replacement text but doesn’t move to the next match.
- Previous and Next arrows: Move to the previous or next match without making a change.
Replacing a table value updates both the displayed value and the underlying value. For example, if you replace “1/2” with “1/3,” the underlying value changes from “0.5” to “0.333333.”
You can’t replace matching text in table cells that contain a formula.
See also