How to find word in a string

i am using news api to fetch news from various platforms. what i need is i need to match few perticular words and show and image regarding that can anyone help me on this.

i am trying RegEx weather i am on right path or not please guide me.
please share your experience to solve this.

thanks

Are you trying to remove those words, or base your next action on whether they are there or not? You could also use Regex to locate something, but you can also use it to remove words with find and replace. You can also use it to split strings into lists, which is handy at times. Just saying, it can do lots :wink:

I’m on my phone so I can’t think of an easier way than doing this other than Regex.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.