Braze interview question

Finding patterns within a string.