Skip to main content

I have a spreadsheet with a list of company names, and an RSS with a text field that may contain one or more of the company names (along with other text). How can I use FME to search the RSS text field and match it to my company names? So far I have tried the InlineQuerier with an SQL JOIN and LIKE statement, but I'm not getting as many matches as I expect and only one company name matching when there may be >1. I want my output to contain a field that lists all the company names found in the RSS text field. Any suggestions or alternative workflows would be greatly appreciated!

Hi @FMELizard, I would try this.

  1. Aggregator: Concatenate all company names separating with | (pipe).
  2. FeatureMerger: Merge the pipe-concatenated company names to the RSS_text feature unconditionally.
  3. StringSearcher: Find every substring that match a company name.

Regex

\b(@Value(COMPANY_NAME))\b

Theoretically this should work, but I don't know if there is a limitation on the maximum number of strings specified with pipe-separated format.

0684Q00000ArKCuQAN.png


Reply