How to match multiple values

Benjamin Guo November 24, 2024

Dear all,

I want to match for example https://xxx/abc-xxx,https://xxx/abc-xxx in the URL custom field.

I write this.*?(CSS-\d+).*?(CSS-\d+).* and it can return 2 groups in https://regex101.com/?flavor=java&flags=g.

Furthermore, I know it will only return one group for.

May I know if there are any other workarounds for my scenario?

Thank you so much

1 answer

1 accepted

2 votes
Answer accepted
Benjamin Guo November 25, 2024
I figure out using custom_field.split("https").match(".*(CSS-\d+).*")}}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events