Search for your todo comments in any ticket:
initials|initials_reversereplace this with your initials
\/\/ ?TODO ?(#.*)? ?(initials|initials_reverse):
Search for any todo comments in a specific ticket, e.g. 71782
#71782can be replaced with a specific story id
\/\/ ?TODO ?(#71782)?:
Changing this requires the following 2, if the date includes a time segment, or 3, if the date did not include one.
Modify definition
Find: new DateTime\(\s*?(\d{4})\s*?,\s*?(\d{1,2})\s*?,\s*?(\d{1,2})\s*?(,\s*?(\d{1,2})\s*?(,\s*?(\d{1,2})\s*?(,\s*?(\d{1,2})\s*?)))?\)
Replace: DateTime.Parse\("$1-$2-$3 $5:$7:$9"\)
Clean up trailing zeroes
Find: (Parse\(\".*)(\-|:|\s)(\d)(\-|:|\s|\")
Replace: $1$2\0$3$4
Clean up leftovers if DateTime did not include time
Find: (\"\d{4}-\d{2}-\d{2}) ::\"
Replace: $1"