Regular expression for search and replace latex eqno tag in Microsoft Word

How to search and replace \eqno(42) with blankspace in MS Word?

Thanks.

2

1 Answer

  • Updated answer

You can use Find and Replace to do that. The caret plus Number symbol ^# will find any digit.

Ctrl H will open the dialog box.

In 'Find what:' Put \eqno(^#^#) (plus any blank spaces before or after that you want)

In 'Replace with:' type one blank space.

Click on 'Replace All'

The find digit (^#) command will find only one digit, not one number, so you may need to run this once each for parentheses containing a single digit (^#), double digit (^#^#), triple digit (^#^#^#) etc.

Before you move on, check to make sure you get the results you want. You can undo (Ctrl Z) and adjust if you need to.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like