adam84 Posted November 18, 2009 Share Posted November 18, 2009 Im trying to retrieve the value: '82 minutes' from a string. Any suggestions on what I need to do. This is what I have, but it doesnt work $pattern = "[0-9] /minutes/"; Thanks Quote Link to comment https://forums.phpfreaks.com/topic/182049-solved-help/ Share on other sites More sharing options...
rajivgonsalves Posted November 18, 2009 Share Posted November 18, 2009 $pattern = "/[0-9]+ minutes/"; Quote Link to comment https://forums.phpfreaks.com/topic/182049-solved-help/#findComment-960273 Share on other sites More sharing options...
adam84 Posted November 18, 2009 Author Share Posted November 18, 2009 thanks Quote Link to comment https://forums.phpfreaks.com/topic/182049-solved-help/#findComment-960283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.