Hey all,
I have some data like mg-st-005.xyz.pqr.dyd .
I want to have the string mg-st-005 ( string before the first "."(dot)).
My preg_match does not work properly....
can you please help me?
Thanks...
I have some data like mg-st-005.xyz.pqr.dyd .
I want to have the string mg-st-005 ( string before the first "."(dot)).
My preg_match does not work properly....
can you please help me?
Thanks...
Comment