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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.