13 Lip 2012

Formatowanie telefonu

!{$mobile|regex_replace:"/^([0-9]{3})([0-9]{3})([0-9]{3})/":"$1 $2 $3"}!
!{$phone|regex_replace:"/^([0-9]{2})([0-9]{3})([0-9]{2})([0-9]{2})/":"$1 $2 $3 $4"}!