Add examples for use regex intercept method.