Michdd Posted June 16, 2009 Share Posted June 16, 2009 I finally decided to learn regex, so I found this tutorial: http://www.phpf1.com/tutorial/php-regular-expression.html And I now understand all that. All straight-forward. But I still don't understand some things. Like instead of finding a certain pattern, what if you want to find something in between 2 patterns? Can anyone point me in the right direction of more complicated regex tutorials such as this? Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted June 16, 2009 Share Posted June 16, 2009 What do you mean? An example would help. Quote Link to comment Share on other sites More sharing options...
Michdd Posted June 16, 2009 Author Share Posted June 16, 2009 I guess the most basic example would be getting the text between <title> and </title> Quote Link to comment Share on other sites More sharing options...
Michdd Posted June 16, 2009 Author Share Posted June 16, 2009 Nevermind, I think I was just looking at it from the wrong perspective. 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.