Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to do a find a replace on any paragraph that begins with a number.

Tried this in Find and Replace:

Find what:

But get the error

^# is not a valid special character for the find what box or is not supported when the Use Wildcards check box is selected.

Update: Forgot to mention that my Use Wildcards box is checked in the search options. I am attempting to replace styles based on paragraphs that start with numbers.

share|improve this question
up vote 0 down vote accepted

I’m not clear whether you’re trying to do a Microsoft Word “Find and Replace”, or whether you’re trying to use the Find function to find paragraphs that begin with numbers, so you can then edit them manually.  If it’s the latter, why not just turn off “Use wildcards” and search for ^p^# or ^13^#?

share|improve this answer
Turning off wildcards did the trick. – kbeal2k May 7 '13 at 14:13

try <[0-9]{1,} for checking for numbers. if you know there is an upper limit to the number of characters the numbers will be you can change it to {1,4} for example and it will search for any number between 0 and 9999 including 0000.

That will check the beginning of words for one or more numeric characters

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .