i want a search command for searching a data in document or database which search any word in the document

document or database ?

use SQL for the purpose and use LIKE for pattern matching.

its not clear. so need more information.

Please have your time to explain your question. Make helpers understand your question.
thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.