I am writing an iPhone app that has to pull raw HTML data off a website an grab the url of the links and the displayed text of a link. 

For example in the like `<a href="www.google.com">Click here to go to google</a>`

It would pull grab
url = www.google.com
text = Click Here to go to google

I'm using the regexlite library but i'm in no way an expert on regular expressions i have tried several things to get this working.

I want to use the following code 

```
NSString *searchString  = @"$10.23, $1024.42, $3099";
NSString *regexString   = @"\\$((\\d+)(?:\\.(\\d+)|\\.?))";
NSArray  *capturesArray = NULL;

capturesArray = [searchString arrayOfCaptureComponentsMatchedByRegex:regexString];

```

So my question is can someone tell me what the searchString would be to parse html links or point me to a clear tutorial on how regexlite works i have tired reading the documentation at <http://regexkit.sourceforge.net/RegexKitLite/> and i dont understand it.

Thanks in advance,

Zen\_silence