Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Web >> Development >> PHP >> How to intepret the array of matches from preg_match

eg $string = "one two three four"; preg_match("/(one).*(two)/",$string,$matches) when it returns true, $matches[0] = entire string $matches[1] = first substring match i.e. one $matches[2] = second substring match i.e. two
[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]