|
|
Browse by Tags
All Tags » except string
-
This seems like it wouldn't be too difficult, but I am having lots of problems. I am using ASP.NET I have a form with a list of states using their two letter abbreviation. I have a regular expression validator and I would like for it to fail if the person chooses ME or WV from the list. I have have tried several expressions in Expresso and ...
-
I am trying to match all instances of LINES but not GRIDLINES.
Sounds easy right? Well apparently I'm too green to get it. I have "Teach Yourself Regular Expressions in 10 Minutes" and was able to digest it, I have a Firefox addin named 'Regular Expressions Tester' and an app named 'Expresso' which are ...
-
Dear all,I have a question need your help (POSIX regex). the question is shown as following.There are several specified realms, and now there is a user which name likes abc@realm.com, we should check if the realm of the use was not included in those realms.
Example:
The realms includes @cnn.com, @mil.gov, @blackberry.com, @yahoo.com ...
-
Hi,
I need a regex that matches a string containing words (only the letters of the english alphabet, upper and lower case, and digits) and exclude words like MS, IB, DS etc...
Programming language is Java. I tried with \\w+(?:MS|IB|DS). I would appreciate for your help.
regards,
RB
-
Ok, real data (but sorry, cannot give you real person names).
I will use TRegExpr for Delphi to process old ascii files with person names (code 720, plus name) optionally followed by the profession (code 100, plus profession name).
...| 720 | John Doe | 720 | Winston Smith | 720 | Peter Parker | 100 | Journalist | 720 | Humpty Dumpty | 720 | ...
-
Let this text:
WORD1 blahblah1 WORD1 blahblah2 WORD2
(Note that WORD1 is repeated 2 times, could be more, and that "blahblah" is some random text, always changing, but matched with .*\s*)
The problem is: You want to match when WORD1 is followed at any distance by WORD2, but without any other WORD1 in the way. I ...
-
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 ...
|
|
|