I have this string: \"Download it from [http://wordpress.org/extend/plugins/wordpress-mobile-admin/](http://wordpress.org/extend/plugins/wordpress-mobile-admin/)
Download it from [http://wordpress.org/extend/plugins/wordpress-mobile-admin/](http://wordpress.org/extend/plugins/wordpress-mobile-admin/)
You need to escape the [, ], ( and ) as they are all regex meta-characters:
[
]
(
)
preg_match_all('/\[(.*?)\]\((.*?)\)/', $data[$toProcess], $links);