Regx for short description

Preeti Yadav April 16, 2023

Hi Team,

We are creating Jira ticket through SNOW.

This is the Short Description:

"INC3133754: GO [DISY] Abnahme R70 UAT [F22_Miro_Test: Test TEST TEST incident for Testing]"

This is the Regx : matches = (body =~ /(?<=INC\d{7})(.*)(?<=\:\s)(.*)/);

But Middle part between both the ":"  which is (GO [DISY] Abnahme R70 UAT [F22_Miro_Test) is not coming while ticket is created. Only end part is coming.

Here is the screenshot.

MicrosoftTeams-image (24).png

Can you please give me the proper Regx or guide me what I am doing wrong.

 

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer