Should be using the capture group and not doing a strip on the match dat...