Need help with extract with regex

I am trying to develop a trending concept.
Is there a way for text to be extracted with regex so that I could set up a search that would display the most common terms that appear in user created text?
So for example: "John Williams ate a cheese burger ". the regex could extract John, John Williams, john williams, cheese, cheese burger, ate a cheese burger, etc, and lets say another user wrote “I saw John Williams”, John, John Williams would be extracted, so then the repeating group would display John Williams as trending? May be the repeating group could sort only words, word strings that have appeared in at least 100 posts, or on a smaller scale, in at least 5 posts.
Does anyone have any idea and can help me implement such a regex extraction?

1 Like

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