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 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 Share on other sites More sharing options...
adam84 Posted November 18, 2009 Author Share Posted November 18, 2009 thanks Quote Link to comment 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.