Thank you both, although I managed to do what I needed to do using the first suggestion.
In reply to Re^4: Regex Query by DanielSpaniel in thread Regex Query by DanielSpaniel