Before the sample requests are accomplished, Pre-processors are executed. Basically, these are nothing but the test plan elements that are helpful in ensuring reliability. Some of the widely used Pre-processors in the JMeter are:
RegEx
Beanshell
Rewriting modifier
Link paper for HTML