Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » php regular exp... » preg_match
  • Problem with negative lookbehind in PHP PCRE Library.

    I have the following regex statement I'm trying to run in PHP.  (?<!(end\s?zone|lower|upper)\s?)(view)  Testing against the following string: (matches in bold) "The endzone view goes hi upper view and he goes view and then goes view and view and view!!!" Notice "upper view" and "endzone view" are ...
    Posted to Construction Advice (Forum) by simshaun on May 6, 2008
  • Ascending numbers with specific separators

    Hello all, I'd like to check on a php page that a text string complies with the following rule : Contain numbers,  in ascending order, with only   ,    or    -     as separators The numbers represent requested items (like pages to print), my purpose is then to count the ...
    Posted to Construction Advice (Forum) by ldauphin on February 8, 2008
  • Playstation Parsing Problem

    Hello there, I am using PHP, preg_match to pull out of various Auction titles for video games, the video game platform of those games.  I have a list of valid ones and trying to match back to them.  However as this is completely user entered data there is a enormous amount of variety in the titles, which leads to some interesting ...
    Posted to Construction Advice (Forum) by plynam on July 26, 2007
  • Find first previous string NOT all previous occurances

    In the following string: <div class="x" bla bla bla <div class="x" bla bla bla <div class="x" bla bla bla EXAMPLE STRING  I want to match: <div class="x" bla bla bla EXAMPLE STRING NOT <div class="x" bla bla bla <div class="x" bla bla bla <div ...
    Posted to Construction Advice (Forum) by LarryEitel on June 9, 2007