Make regular expression not match empty string?

Replace “*” with “+”, as “*” means “0 or more occurrences”, while “+” means “at least one occurrence”

Leave a Comment