Fix regex to not use ^ or $