This extension lets you search for specific values like CSRF tokens in responses and use their values to modify parameters in future requests or set a cookie.
Requires Java 8
This extension DOES NOT require Burp Suite Professional
https://github.com/hvqzao/burp-token-rewrite/releases/download/1.0/token-rewrite.jar