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
votes
1answer
25 views

Regex: KEEP everything between quotes [closed]

I've worked with REGEX for super simple stuff. Now I came up with a situation that my knowledge isn't sufficient. I need to get this info out of a lot of lines. Everything after the first quotes and ...
0
votes
1answer
67 views

Handling a dynamic refresh token on JMeter

I have recorded JMeter script for a website. One of the HTTP request is the below screenshot where a refresh_token is already set as a hard-coded parameter when I recorded the script first time. This ...
1
vote
3answers
181 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
694 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
561 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
92 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 ...