s/$regex1\K$regex2//; #### /$regex1/g and s/\G$regex2//;