Hi Lasse,
It would probably be
^(car)([^$]+)$
Note: I don't really remember which of $ and ^ actually stands for the
beginning of line and the end of line. So you may have to swap these
characters to obtain a valid RegExp. My legend is:
^ stands for the beginning of line
$ stands for the end of line
Hope this helps.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Lasse Edsvik" <la***@nospam.com> wrote in message
news:OI**************@TK2MSFTNGP12.phx.gbl...
Hello
I was wondering how to match car and the rest behind car using reg.exp?
/car black bla bla bla
so i can handle "car" and "black bla bla bla" seperately afterwards
TIA
/Lasse