Little Goat Posted June 23, 2006 Share Posted June 23, 2006 ok, so I need to search for ALL occurrances of a Regular Expression inside a string, and return them in an array. I'm pretty sure that there is a function to do that, but I can't remember what it is. thanksLG Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted June 24, 2006 Share Posted June 24, 2006 preg_match_all() Link to comment Share on other sites More sharing options...
Little Goat Posted June 24, 2006 Author Share Posted June 24, 2006 0k, yea, that's the one. I tried searching for it, but I had no idea what it was called.thanks againLG Link to comment Share on other sites More sharing options...
aleksanteri Posted June 24, 2006 Share Posted June 24, 2006 You can find a function from the PHP manual.Image of searchYou can enter a full function name or keywords like "match". When keywords, PHP lists some suggestions and really good matches are in bold. Click on one and you find a full reference to the function. Link to comment Share on other sites More sharing options...
Little Goat Posted June 24, 2006 Author Share Posted June 24, 2006 yea, I looked there. but anyway, I've got it now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now