Wolphie Posted June 6, 2008 Share Posted June 6, 2008 Could someone explain how to get output variables from a regular expression? For example, if I wanted to retrieve the text from inside BBCode tags. I know it's called from something like $1. Quote Link to comment Share on other sites More sharing options...
effigy Posted June 6, 2008 Share Posted June 6, 2008 An array is returned with the full match and the parenthetical matches. This has some examples and explanations. 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.