Simplify string skip pattern