The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniOutliner > OmniOutliner 4 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Use search or find for multiple words? Thread Tools Search this Thread Display Modes
Is there a way I can use the sidebar "Search" command - or the Find command - to search for items with multiple, non-contiguous terms?

In other words, I'd like to find an item in which the words Nashville and Martian appear. Not the phrase, but two unconnected words.

Any way to do this? It would make Search MUCH more useful.
You can do this using the Find option with Regular Expression (the other find type option at the top of the Find window). For your example you would search for "Nashville(.*)Martian".
Awesome. Just tried it, and it works great.

I never would have found that on my own. Excuse my ignorance, but what is "Regular Expression"? Are there other things we ought to know about using it with OO?
It's a method of specifying search patterns. This is a good overview of it. You can also just google for the general idea you're trying to express and often find examples of it.
Thanks. Just started doing that.

In experimenting, I discovered two new things about this trick:

1) It is case-sensitive
2) phrases must be enclosed by parens, not quotes

One limitation is that it shows one result at a time. It would be great if Regular Expression searches were an option in the Sidebar Find function, so that all the hits would be displayed in the sidebar. Any chance of that happening?
There's no current plans to add regex searching to batch find but I've added your request.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

All times are GMT -8. The time now is 11:53 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.