Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- regexp question
February 28, 2007, 9:51 am
rate this thread
data|IT)?" at least one of the words in the group should be mandatory,
but I dont want to match a word that is part of another word like this
"datamanager" it should only match the word "data" or any other word
in the group.
Re: regexp question
You know there are classes for characters, like \w? Well there are
classes for non characters:
^ Start of Line or Data
$ End of Line or Data
\b Word-boundery, change from \w to \W
But some letters like German umlaute may be seen as Non-Word-Elements,
depending on your the encoding.
In this cases you may try search for your words between non letters.
what about data-base?
http://portal.richler.de/ Namensportal zu Richler
http://www.richler.de/ Heiko Richler: Computer - Know How!
http://www.richler.info/ private Homepage