I need to match and work with the following text
... and the start date is [startDate]|(D jS M Y g:iA).
The match should return any characters between the () brackets after [startDate]| (in this case D jS M Y g:iA), but should be dynamic so that it matches anything after the [ ]|. Ie should also work with the tag [otherDate]|(D jS M Y)
I've tried using positive look aheads, but haven't been able to get the result I need.