REGEX grab the following string:

to get the value highlighted in yellow: 

[code]<h3>OPEN Problem P-2107xxx in environment <i>Non Production</i></h3><br /><small>Problem detected at: 02:39 (UTC) 28.07.2021</small><hr /><b>1 impacted application</b><


regex:

var sDetails=grPrb.details+""; var testRE = sDetails.match("at:(.*)</small"); gs.print(testRE[1]);
*** Script:  02:39 (UTC) 28.07.2021

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage