Ask Your Question
0

What is the equivalent in Writer for MS Word ”any letter” in Find and Replace

asked 2018-02-05 22:51:56 +0200

alexr gravatar image

I'm talking about Special - Any character (for the Find field). For instance, when I want to search for: ” )any letter or any digit” so that I can find where I forgot to insert a space between a paranthesis and a letter?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-02-05 23:37:05 +0200

RGB-es gravatar image

You need to use Regular expressions on the full Search & Replace tool (Ctrl H).

Regular Expressions (RegEx) is a HUGE topic: check LibO's documentation and the ICU User guide for more details. As an example, to find the problem on your sample text you may use something like this

\)\w

The initial bar is to "escape" the parenthesis (it have it's own meaning in RegEx language so we need to tell the system we are searching just a closing parenthesis) while \w represent a "word element" that can be an alphanumeric character, but not a space nor a punctuation sign (here the bar tells the system that the simple "w" character now have a new meaning).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-02-05 22:51:56 +0200

Seen: 31 times

Last updated: Feb 05 '18