Hi,
I want to check number of occurrences of keywords from filter datatable columns.
Note: country names with keywords will be changing each time.
Country Name | Keywords (single) | Keywords (More than 2 words) |
---|---|---|
India | IN,Mumbai,Delhi, Hyderabad, Chennai | West Bengal, Jammu and Kashmir |
United States | US,USA,Chicago | New York, United States,Los Angeles |
United Kingdom | UK, London, Manchester, Liverpool | United Kingdom, Birmingham-Wolverhampton |
Input1 string:
β5677 IN New York,hsk Mumbai INβ
Output:
2 Indian keywords so India. Ignore New York then.
Note- It should consider IN for one time only.
Input 2
" If 6778 IN London,T566 INTER Los Angeles kk sjdj"
output-
India/United Kingdom/United States for only 1 match from each country.
Input 3:
" 677 UK small UK town Chicago, USA 78"
Output:
United States for 2 keywords.
Kindly do not consider UK for 2 times match it should be 1 time.