How do I find a pattern at the end of a string using php regex Archives - w3programmers