mentalist Posted January 30, 2010 Share Posted January 30, 2010 Hi When I say counting matches, I mean from within text. Say I do a REGEXP on a piece of text, can I receive how many matches? Say something similar to the return value of PHP's 'preg_match_all'? Cheers... Quote Link to comment https://forums.phpfreaks.com/topic/190383-counting-matches/ Share on other sites More sharing options...
mentalist Posted January 30, 2010 Author Share Posted January 30, 2010 hmmm, this seems to show the way... http://r937.com/keyword_relevance.html Obviously not as quick as full-text searching, but once refined performs fairly well and does precisely what it says on the tin... Quote Link to comment https://forums.phpfreaks.com/topic/190383-counting-matches/#findComment-1004346 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.