I really hope this isn't a duplicate post! How do I know how many matches are in a string? I'm working on a search engine, and I want to rank the sites by how many times a keyword is in the description.