Change regex format - s{}{} has been deprecated