RB-Matcher is a string matching technique that improves upon the Rabin-Karp string matching algorithm. It avoids spurious hits by comparing both the remainders and quotients produced by dividing numbers representing the text and pattern by a prime number. This prevents unnecessary character comparisons between the text and pattern. The RB-Matcher algorithm has a worst-case time complexity of O(nm+1), which is an improvement over the Rabin-Karp algorithm's complexity of O(n-m+1)m. Experimental results on test data show that RB-Matcher has lower time complexity than Rabin-Karp due to eliminating spurious hits.