Search the way toremove pattern by use