There is a grep function that you can use.
Code:
text = My {dog|cat} is a pet, which is not {good|great|fantastic}. I always need to {feed it|give it food}. It drives {me|us|my family} {crazy|insane} {and|and also} eats {my|our} {newspaper|papers}.
grep(text, "({.*?})", matches,1,0,"`n")
msgbox, %matches%
; grep function: http://www.autohotkey.com/forum/topic16164.html
grep(h, n, ByRef v, s = 1, e = 0, d = "") {
v =
StringReplace, h, h, %d%, , All
Loop
If s := RegExMatch(h, n, c, s)
p .= d . s, s += StrLen(c), v .= d . (e ? c%e% : c)
Else Return, SubStr(p, 2), v := SubStr(v, 2)
}