<?php $key = 'devices.deviceId.*'; if ( preg_match('/^([\w._]{1,})?\.*{1}?$/i', $key) ) { echo 'ist OK.'; } else { echo 'Format ist nicht OK.'; }
You have javascript disabled. You will not be able to edit any code.