【发布时间】:2021-03-12 01:42:05
【问题描述】:
我有这个数组
$arr2 = array("SUBTITLE", "Test Your Might RUNTIME", "1 hr 41 mins GENRE", "Science-Fiction/Fantasy SYNOPSIS", "his film adaptation of the wildly popular video game comes complete with dazzling special effects and plenty of martial arts action. LIGTHNING AND EFFECT")
我想将所有大写的单词与小写的句子分开。像这样。
$arr2 = array("SUBTITLE", "Test Your Might", "RUNTIME", "1 hr 41 mins", "GENRE", "Science-Fiction/Fantasy", "SYNOPSIS", "his film adaptation of the wildly popular video game comes complete with dazzling special effects and plenty of martial arts action.", "LIGHTNING AND EFFECT")
我该怎么做?如果有办法用正则表达式做到这一点,那将是首选。感谢您的帮助。
【问题讨论】:
标签: php