I'm doing some preg programming, but I need to capture text that doesn't include the </a> anchor tag. I know about the ([^/]+) wildcard, but how I can use this with multiple characters? I want to have a match that starts with my string, but stops at the first </a> tag it encounters.
Any suggestions?