Well, i did like this (it's not good, I know) *nomeProduto">\n.*\t([a-zA-Z_\=\&\?\.0-9\/\-\!\” :\...@\$]*)\n.*<*
(don't work so good) Some one have a better idea to help me? On Mon, Jan 18, 2010 at 11:02 AM, Edson Lopes <edso...@gmail.com> wrote: > Ok, thanks! > I really what some help on this... I'm totally lost. > > If some one give me the RE of this, i can use to study. (i cant make the > "tabs/enters" to work) > > > > On Fri, Jan 15, 2010 at 12:19 PM, Matt Jones <al2o...@gmail.com> wrote: > >> >> >> On Jan 14, 2:30 pm, Edson Lopes <edso...@gmail.com> 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. >> >>--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.