I'd like to cut out the (born M D, Y), which may appear in any different format: (b. M D, Y), (b. M D, Y - d. M D, Y), etc. I was matching with a simple patternFirstname Lastname (born Month, day, Year) was blah blah blah. Blah Blah blah blah, etc. etc.
Code: Select all
/\(.*\)/so now the above pattern matches (born Month, day, Year) was blah blah blah. Blah Blah blah (Blah BLAH blah!) instead of just the first bit.Firstname Lastname (born Month, day, Year) was blah blah blah. Blah Blah blah (Blah BLAH blah!) blah blah, etc. etc.
What's the trick to getting the match to stop after the first ")", instead of going on?
Thanks!