Tag Archives: php

Keyword parsing: separating words by capital letters in PHP

I was trying to create a simple routine for separating the keywords within a domain name based on user input of capitalized words. For example, the user might input: MyDomainName.com This should be parsed into the term “my domain name” based on the capital letters signifying the first letters of each word. As usual, I […]