Questions tagged [regex]

Regex is short for regular expression - it is a string of characters that defines a search pattern used to validate against bodies of text.

Filter by
Sorted by
Tagged with
1
vote
3answers
100 views

JMeter not accepting Valid Regex, causing nothing to be posted

I'd like to prefix this question with the fact that i'm a novice when it comes to Jmeter and Regex. I have created a test plan for an ASP .Net application, which consists of a GET request, with a ...
1
vote
1answer
303 views

How to construct a dynamic xpath with regex pattern [duplicate]

Pattern --> sometext + '(' + F|R|O|H|C + ')' String toolTipTextLabel = driver.findElement(By.xpath("//span[contains(@class,'chartTooltip-label')]/descendant::bdi[contains(text(),'(F|R|O|H|C)')]"))....
1
vote
2answers
314 views

How to extract dynamic values with jmeter Regular expression extractor?

Please let me know how to fetch the ID from the html using a regular expression & find the below expression i have used but am getting error response only. Response Body: "input type="hidden" ...
2
votes
1answer
86 views

getText() which is in between <div> </div> tag?

Get text which are in between tags DOM <div id="div_ResultMessage" class="AlertmsgDiv"> <div id="lblSuccessMessage" class="alert alert-success alert-dismissable"> <div ...
1
vote
1answer
110 views

How to write regular expression for given text [closed]

I have below text content: trusted/75XqScyKRbuRYEATFl2cWg==:IUMN4RxUoWGSFvJMTJ69TkaA/t Where I've to extract only 75XqScyKRbuRYEATFl2cWg==:IUMN4RxUoWGSFvJMTJ69TkaA text. Someone please help me to ...