preg_match_all problems
Posted
by NeoNmaN
on Stack Overflow
See other posts from Stack Overflow
or by NeoNmaN
Published on 2010-05-12T09:24:29Z
Indexed on
2010/05/12
9:44 UTC
Read the original article
Hit count: 239
i use preg_match_all and need to grab all a href="" tags in my code, but i not relly understand how to its work.
i have this reg. exp. ( /(<([\w]+)[^>]>)(.?)(<\/\2>)/ ) its take all html codes, i need only all a href tags.
i hobe i can get help :)
© Stack Overflow or respective owner