How can I extract articles from API MediaWiki?


For one page, we just write the title in the property titles :
Example : title="yellow" ==>

For some pages how can I do ?
I want to do a regex, however, I found a problem with the string that into I'll search the regex, i.e.
regexec (&preg, string, 0, NULL, 0);
What is the string ?

Please help me
Thank you