String comparison with names list in asset which can be ignored while comparison

I have list of names which can be ignored(Enterprise, Tech, Factory, Data, Private, Public) which i added to the asset. Now I am comparing name 1 with name 2.

  1. First logic - While comparing name 1 and name 2 if 2 common words found i will take it as matched if no ignored keywords found in the comparison.
    i.e (Name 1 = “Mark Day” Name2=“Mark Foundation Day” - it is considered as match as 2 common words found.

  2. Second Logic - While comparing name 1 and name 2 if 1 common words found i will take it as matched if ignored keywords found in the comparison.
    i.e (Name 1 = “Mark Private” Name2=“Private company” - it is considered as match as 1 common words found coz it contains ignored name i.e private.

I am working on this. Can anyone let me know how it can be developed?

Thanks,
Ula

Question 1:

Try this
Use two separate “Is Match” Activities. One for first name and one for surname.
Then use an IF activity to check if either result is equal to false.
Feed these through a ‘for each’ to loop through multiple entries.

Question 2:

Try this.
Use a ‘Is Match’ activity for each name.
Use and If activity and if either return a result proceed.