0
I was in tourble on my simple project...<a href="" with Class
I'm trying to grab all the links from tag a href tag, but my problem is that the links also have other attributes, that is class.
This the source structure:
<a class="coolCard project-card " href="http://www.aabbcc.com/post//tank-farm-good-be" id="2568">
What i tried so far is:
preg_match_all('/<a\s*class=\"coolCard \s[^\>]*\"\s*href=([\'"])(.*?)\\1/is', $wordString, $links);
For result, i want to get the link http://www.aabbcc.com/post//tank-farm-good-be
おかげで....
私はそのスペースを削除しよう....まだ そのノー結果は... –
@AdhyKunKun:奇妙な、それは私のために正常に動作している、私を参照してください編集 – Toto
OMG、はい..その仕事brooo ... ありがとうたくさんの... –