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 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/"; 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 Link to comment https://forums.phpfreaks.com/topic/182049-solved-help/#findComment-960283 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.