preg_matchGoogle FontsのURLから名前をフォントにする方法を教えてください。
たとえば、次からフォント名を抽出したいとします。
http://fonts.googleapis.com/css?family=Oswald:400,300
http://fonts.googleapis.com/css?family=Roboto+Slab
フォント名OswaldとRoboto Slab.
preg_matchGoogle FontsのURLから名前をフォントにする方法を教えてください。
たとえば、次からフォント名を抽出したいとします。
http://fonts.googleapis.com/css?family=Oswald:400,300
http://fonts.googleapis.com/css?family=Roboto+Slab
フォント名OswaldとRoboto Slab.