hello,
I'm struggling to create a table with matching from a list of string with wildcards.
I tried to follow the suggestion on this post using the Find and Replace tool, but it works only removing the wildcard * and only when the wildcard is not in the middle of my string to search. So I get only partially results.
I explain what I've been trying to achieve:
1. I have a pattern list with a related classification field in one table similar to this:
| pattern | classification |
| *activate access* | class A |
| *event log service*stopped | class B |
| app1*stop* | class C |
2. I have a long list of descriptions from another table:
| description |
| the user has activate access to xyz |
| the event log service was stopped |
| app1 has suddenly stopped |
| the event log service was restarted |
| .. |
| .. |
Searching the pattern string from the first table into each description field, I have to obtain the classifications that match that pattern (for some I might not have the pattern which is fine). So resulting table should be something like this:
| description | pattern | classification |
| User1 need to activate access to xyz | *activate access* | class A |
| the event log service was stopped | *event log service*stopped | class B |
| app1 has stopped | app1*stop* | class C |
| the event log service was restarted | n/a | n/a |
| … | | |
| .. | | |
As said, with the find and replace tool (with removing the initial and last *) I match some pattern (like "activate access"), but where the * is in the middle I couldn't find a way to get the match that I need.
Any suggestion is appreciated!
thanks in advance!