On 13 July 2011 13:42, who.cat <win....@gmail.com> wrote:
> <head[^>]*>(.*?)</head>



<head[^>]*>(.*?)</head>

Options: case insensitive; ^ and $ match at line breaks

Match the characters “<head” literally «<head»
Match any character that is NOT a “>” «[^>]*»
   Between zero and unlimited times, as many times as possible, giving
back as needed (greedy) «*»
Match the character “>” literally «>»
Match the regular expression below and capture its match into
backreference number 1 «(.*?)»
   Match any single character that is not a line break character «.*?»
      Between zero and unlimited times, as few times as possible,
expanding as needed (lazy) «*?»
Match the characters “</head>” literally «</head>»


Created with RegexBuddy
-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to