Hy, I have a long csv and I want to search strings that contain certain words, for example:
var str = "Dan Jobsy,Google Analitis,ejobs";
I found this:
(?:^|,)(\"(?:[^\"]+|\"\")*\"|[^,]*)
that will parse the CSV and return the words, what I want to know how to extend this and add a condition to return only words in csv that contain a certain string? Like if I search "oo" it will return only "Google Analitics", but if I search "job" it will return "Dan Jobsy" and "ejobs"
EDIT:
Didn't find a solution here, except the one using the regexp I supplied, if I can manage to solve this on my own I will post the ans here.