我正在運行RegEx以匹配Twitter標籤的所有實例。它返回它就好了,但現在我只想循環第一組並返回我的#hello,#world,#hello-world ....而不是第二組。任何幫助將很快得到回報!陣列Foreach循環
Array
(
[0] => Array
(
[0] => #hello
[1] => #world
[2] => #hello-world
)
[1] => Array
(
[0] => hello
[1] => world
[2] => hello-world
)
)