I have some trouble with a regex in JMeter. I have this form in HTML
Jmeter uses PERL regular expressions to extract and store values into variables.
Here is a great resource for learning how to write them: http://www.regular-expressions.info/
Here's the link for the Jmeter user manual: http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor
In Jmeter, make sure you put parentheses () around the items you want to store to the variable. Given you're new to JMeter, I would recommend having TWO regular expressions - one for each item. This will make it easier for you to track and debug. You'll end up with expressions like: componentId=(.+?);