Good evening.
Can you tell me how to cut out the first and last characters in a regular season? Let's say there is such a regular season:
preg_match_all('/[\:]{1}[\w\-]{1,}[\:]{1}/i', ':blah-blah-blah-blah:', $print, PREG_SET_ORDER); print_r($print); Output:
Array ( [0] => Array ( [0] => :blah-blah-blah-blah: ) ) those. so it is displayed without a colon.