Regular Expressions 101

Community Patterns

Match 1 or more Jira issueKey in Wiki Markup

0

Regular Expression
Java 8

"
(?:(?!\/)).*(?:\/)(.[A-Z0-9]*[-][0-9]*)
"
gm

Description

Jira Wiki Markup content can have multiple issueKeys and repeat the same key up to three times. There are also random forward slash characters in the content and text that may look like a valid key, but is not.

Submitted by Hank - 2 years ago (Last modified 2 years ago)