The configuration syntax only allows for a single regular expression unfortunately.
Please see the documentation page here:
However, in this case you may not need a regular expression.
may be sufficient. This would exclude any URLs with those exact patterns in them, the
/wp-json/ rule is likely to be fine as-is. The second rule may have false positives, for example,
/news-articles/feeding-goats-on-my-farm.html would trigger the
/feed part and be excluded.
In that case, a simplified regexp here would be this:
The rest of the default terms in
exclude_patterns are of questionable value, I generally delete them to simplify the pattern.
/_vti aren't used nowadays, and patterns like
google-analytics.com don't need to be excluded because they shouldn't be in your include_patterns.