On Jan 14, 2:30 pm, Edson Lopes <[email protected]> wrote: > > *Is my RE going to be like that?*: > *preg_match_all('/nomeProduto\"\>([a-zA-Z_\.0-9\/\-\!\t\n\"\'\” > :\...@\$]*)\</i', $www, $name);* >
Don't. Just don't. Parsing HTML with regexps is a bad idea - get a real parser, and use it correctly. If you *insist* on doing it with regexps, see this link: http://kevin.deldycke.com/2007/03/ultimate-regular-expression-for-html-tag-parsing-with-php/ That may help. --Matt Jones
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

