PDA

View Full Version : Search for punctuation marks


David_F
05-27-2024, 12:58 PM
I have a need to search items for certain punctuation marks, e.g. "@". Is there any way of using a search item to do that? UR doesn't seem to accept single character search terms.

--David F.

kinook
05-27-2024, 08:33 PM
Do an advanced search of (Item) matches wildcard *@*.

David_F
05-29-2024, 11:23 AM
Thanks, this works, mostly. Looking for underscore (*_*) or for at-sign (*@*) works as expected. Looking for a question mark (*?*) however returns all items. Presumably this is saying in regex terms "get all items with at least one character in them"?

Additionally I would like to search for the asterisk - but obviously this is going to have problems. I assume for the same reasons as with the question mark - ie its regex meaning. I wouldn't expect UR to go the length of letting you escape characters in searches!

Anyway it's useful as-is, cheers.

David F.

kinook
05-29-2024, 05:41 PM
To find a question mark

*[?]*

To find an asterisk

* *

https://kinook.com/UltraRecall/Manual/matcheswildcard.htm

David_F
05-29-2024, 06:55 PM
Aha, so UR does have escape characters! Good stuff, thanks.