Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi again!:)

As I am very new to regular expression I can not solve this: I want to not include a word like "login" in a regular expression. I mean if my string contains that word, I don't want that string but [^login] for example I mean ^ inside[] is just for character not word. So how can I do this?

Thank you very much for your help.
Posted
Updated 17-Jun-10 10:33am
v2

1 solution

You put login in brackets.

There's a program called expresso, and a book called Mastering Regular Expressions. Both are very useful.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900