regex for jira issue ticket
match a jira issue ticket number
[A-Z]{2,}-\d+
Regex Flags
global match
?
ignore case
?
multiline
?
dotAll
?
unicode
?
sticky
?
DAT-123
A-333
AB-333
aka-48
PROJECT-6
TST 000
Hyphen-separated Jira project key and ticket issue number
JIRA is a tool developed for bug tracking, issue tracking, and project management and it provides one integrated solution for ticketing, tracking and notifications for both internal and external customers.
This expression can be used to find or validate mentation of Jira issue ticket number.
Cheatsheet
expr | usage |
---|---|
/\d/ | matches any digit |
/[A-Z]/ | matches all uppercase letters (A to Z) |
/(hello){3,}/ | matches "hello" that occur atleast 3 times |
/ab+c/ | matches one or more repetitions of "b" (matches "abc", "abbbbc", but not "ac") |
iHateRegex
by
geon