1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

List Threads who matched Wildcard?

Discussion in 'XenForo Development Discussions' started by keving, Dec 10, 2010.

  1. keving

    keving Member

    Is it possible to get an List of all Threads who matched an wildcard or an string for example my name or kev* ?

    thanks for anyhelp.
  2. keving

    keving Member

    I modified this a little bit and with a "preg_match if" all is done for example:
    if (preg_match('/^'.str_replace(array('\*','\?'), array('(.*?)','[0-9]'),  preg_quote($searchString)).'$/',  $searchTitel)) {

Share This Page