Is there a way to termiante the wilcard in the search, when I want to search for example for two words?
Let's say I have the following words
awesome mouse
awful albatros
awesome albatros
awful mouse
Now I'm trying to find specifically the combination of
aw* alba*
so my expected matches would be awful albatros
and awesome albatros
as two separate results
(obviously in the example
?
would be more sufficient for wildcard, but I'm trying to use the wildcard for a search in foreign language where the endings of the word can have different length depending on the noun). So please, stick with the*
wildcard
I tried all sort of things, including begin of word search and nested expressions, but I keep getting false matches, because the wildcard character *
keeps interpreting everything as a match afterwards and does not terminate the word.
This is the closest I could get to making sense of it -
<(aw)*{1,}\ (alba)*
Issue is, the first *
accepts everything after it and eats it up, when I in fact want to terminate it after a first space and then begin searching for second word (alba*
)
How should I go about doing this?