Problem with regular expression
Posted on 2004-03-29
i have problem with regular expression in php..
suppose i want to create a search facility..
when user entered, for example : "artist+korean+pop",
it will begin a search using these 3 words as a keywords.
My problem is.. i don't know how to form a regular expression that match these criterias...
For that example, i will form "(artist|korean|pop)+(artist|korean|pop)+(artist|korean|pop)+".
Very silly heh? if there're 10keywords, it will grow too...
could somebody help me,plz...