title: How to convert string from JS string format in Jmeter
body: <p>I am newbie in Jmeter. I am able to capture the session id as <code>"result.sessionToken = 'A45833C7\x2D4535\x2D49C8\x2DBB46\x2D15819383F3BB';"</code> using <strong>"Regular Expression Extractor"</strong>. However, this session Token ID in request is going in different format <strong>"A45833C7-4535-49C8-BB46-15819383F3BB"</strong>. 
  Can anyone tell me, how to convert the captured dynamic data from 1 format to other? We have "<strong>Convert" attribute in "web_reg_save_param()</strong>" function in Load runner, do we have such function in Jmeter?</p>
  
  <p>OR</p>
  
  <p>How can we write our own code to replace <strong>"\x2D"</strong> with <strong>"-"</strong>?    </p>