|
|
Browse by Tags
All Tags » php » preg_match
-
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 ...
-
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 ...
-
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 ...
-
Hello,
I have written a regular expression that I think is syntactically correct but it when used with some versions of php it will cause a segmentation fault. While PCRE Version 7 is being accused for this bug it's not of much help to me. I am wondering if perhaps there is a way to rewrite the expression. Maybe someone has ideas on an ...
-
Hello,
I am quite new to regular expressions. I have been strugling with a regexp for the most part of tonight and although it has been a slow process I've been making progress. Up untill 3 hours ago. First, let me introduce you to what I'm trying to do. I am sorry if my explanation is bad but I find it quite hard to explain exacly what it ...
|
|
|