echo "123ab efab ef123" | sed -r 's/(ab[[:blank:]]ef){2}/OK/'