hello is it possible to match two things using one preg\_match?
for example i have a :

```
<a href="http://google.com">Google</a>

```

and i want to match url (http://google.com) and text (Google)

is it possible to do something like that? something like :

```
preg_match('/^<a href="(.*?)">(.*?)</a>/', $source, $match)

```

then

```
echo 'Url is : ' . $match[1] . ' , and text is : ' . $match[2];

```

**done now thanks**

\*i'll accept answers in some mins