# Correlation in k6 There are a few ways to extract things from previous responses using [[k6 (tool)|k6]]. - [`findBetween` from jslib](https://k6.io/docs/javascript-api/jslib/utils/findbetween-content-left-right): boundaries - [The k6/html module](https://k6.io/docs/javascript-api/k6-html/): CSS selectors - Regex via JavaScript