Regex for Scripted field

Jaspreet Kaur September 21, 2020

Hello Team,

I had created new scripted field to calculate the particular value.

Matcher valtemp = (i =~ /^([^0-9]*)?([0-9]+\.[1-5])([^0-9]*)?$/)

Above matcher is working for all my values but it is not worked for "ABCDE_23Xabc xyz 13.2"

any suggestion plz.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events