Replace initial regex test