refactor Given, When, And, Then regular expression