I want to search within a text with a certain criteria but without using any RDBMS and SQL. here is my example :
text is :
"Quantum optics has played an important role in the exploration of foundational issues in quantum mechanics, and in using quantum effects for information processing and communications purposes. Photonic quantum systems now also provide a valuable test bed for quantum simulations. This article surveys the first generation of such experiments, and discusses the prospects for tackling outstanding problems in physics, chemistry and biology."
criteria is :
(optic* OR plastic OR organic OR "bulk heterojunction") AND ("physics*" OR photovoltaic*)
my prefer language is PHP
How can I do that?