Added Text Matching

Added code to existing code to match string