Hi I'm trying to fix an expression, to grab all sets of 2 words with a
space between them, ie: hello word (valid) C# sample (Valid) hello.
world (Invalid) hello world. (invalid) <-- need to stop capture before
the "." and cannot use \b since \b includes "#"
this is the expression I am trying to work with, so far it takes each
word fine seperately, but it does not take into account hello. world
and it captured hello world.
(([\x23\x41-\xff]*\x2e?[\x23\x41-\xff]+)(?:[\x21-\x2f\x41-\xff])?\s([\x23\x*41-\xff]*\x2e?[\x23\x41-\xff]+)(?:[\x21-\x2f\x41-\xff])?)
the other problem is that it only takes pares sequentially,
I would need to have it do the follwing
hello world this is time
(hello word) (world this) (this is) (is time)
can anyone help me out.
Best Regards,
Alexandre Brisebois
http://www.pointnetsolutions.com