Here is my array snapshot
Array(
[created_at] => 2014-02-18T08:29:33.388Z
[modified_at] => 2014-02-18T12:44:46.011Z
)
- I have to remove character from
[created]
array and[modified_at]
, how should I resolve this issue? - I want like :
[created_at] =>2014-02-18 8:29:33
- secondly like :
[modified_at] =>2014-02-18 12:44:46
How to resolve this issue? Data is in form of json
, I have tried this code:
preg_replace('/[^a-zA-Z0-9]/', "_", $aba);
whats is correct method to resolve this issue.