我对PHP有点绿色,因为我以前在ASP经典编码,它真的不一样
我有3个包含以下文本的字符串:
$str1 = "is simply dummy text of the printing $$ 6/4r $$ and typesetting industry"
$str2 = "is simply dummy text of the printing $$ 11/11tr $$ and typesetting industry"
$str3 = "is simply dummy text of the printing $$ 15/6 $$ and typesetting industry"
Run Code Online (Sandbox Code Playgroud)
我怎样才能获得6/4r,11/11tr并且15/6出单独的变量?
$$当所有这些都是真的时,我想抓住6/4r并把它放在一个单独的var中.
我怎么能用PHP做到这一点?
php ×1