<?php $text = "0abc123";preg_match('/[a-z]/i', $text, $m, PREG_OFFSET_CAPTURE);echo $m[0][1];
Standard input is empty
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!