I want to pull the sentence where a word appears. Also, I need to assign the full sentence to a variable.
@aastornater - A sample would help us…
These databases helped organized all the work, make all computations, and interface with MS word.
In this case, the word I’m looking for is organized but I need to pull the full sentence. I have already have a variable named “keyword” to hold the word I’m looking for (organized)
@aastornater - One option I can think of is using Regex…assuming you dont have lof of keyboards and sentence is only one line…In this below example, i have use organised, helped, word in OR condition…If your text has none of these words then it won’t match…
Regex test Link