How to find a string, within a string, using Regex

Ali Abbas - Oct 22 '19 - - Dev Community

Thanks for stopping by.

I am stuck in a problem that I'm unable to solve. The problem is like as follows

a = "The Macports"
b = "macport"
c = "The Initial Macports"
d = "The Oscar Macports Initial Time"
e = "macports"
f = "The fastest macport"

All the above are strings where the common word is macport. Just like these 6 strings I am operating on a data of almost 1000 variation like this.

I am trying out to find the strings which contains the name macport or macports.

Glad if you could give me suggestions or discuss about it, how to fix it

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player