Easy Regular Expression Question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
iBroughtCookies
Forum Newbie
Posts: 10
Joined: Wed Jun 24, 2009 12:09 pm

Easy Regular Expression Question

Post by iBroughtCookies »

Ok so for what understand, the . character will match ANY character except for a line break.
Well what if I want to grab what's between <bla> and </bla> for this:

Code: Select all

<bla>
aalksjdalksjd
@#O$)@&#$)
aslkdjalskd
<html><html>
alksjdoqiwjoj
</bla>
Post Reply