‘abcd abc aabc baa abcaa’ abc aa aa aa bc b ‘abcd abc “aa” Searching string Present Occurrences Count 1 2 3 Present Occurrences 3 times aa has occured 3 times Present w3resource.com