Hey guys,
How I can make the preg_match run only once ?
For example I've this text :
php-builder.3232.dasdadsadasd.2222
I want to get only "TEXT.NUMERIC" so I made this regex :
[a-zA-Z].*.[0-9]\d*
Which is works perfectly, However it's matching more than one time, I get this
php-builder.3232.dasdadsadasd.2222
However I want this only
php-builder.3232
So how I can make it run only just one time ?