Vikram Kamath

April 16, 2006

Please leave a message

Filed under: General — Vikram @ 21:14

I just happened to check the hit list on this blog. There are many people all over the world who are searching for “vikram kamath” and ending up on this blog. Its a good thing. But I would like to know who you are, just in case i know you. So, I request you to leave a message or a comment on the blog so that possible old friends can get back in touch again.

Cheers and thanks.


April 12, 2006

Regular Expression for folder paths

Filed under: Programming — Vikram @ 13:15

I have been looking for a regular expression that allowed me to validate a folder path on a local machine or a shared directory path using UNC with server name or UNC with IP Address. I did find a regular expression on But it didn’t seem to be solving my purpose. So I went about modifying it. I ended up creating different one. Many of you may have done this already. But this was a small exercise on my part to get to build a regular expression. So here it is.

Regular Expression: ^((([a-zA-Z]:)(\\{2}[a-zA-Z]+)(\\{2}\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(?=(\\(\w[\w ]*)))(\\\w[\w ]*)*)$

Matches: c:\folder one\folder2\folder 3 , \\remoteMachine\folder1, \\\folder 1\folder2Non Matches: c:\\folder one c:folder 1, c:\folder 1\\folder 2, \remoteMachine\folder 1, \\remoteMachine\\folder 1, \\remoteMachine\folder 1\\folder2, \\\\folder 1, \\\folder 1\\folder2

Hope this helps anyone who needs to use it.

April 2, 2006

Fiat gone, Nissan in!!

Filed under: General — Vikram @ 14:54

Got rid of the Fiat Brava last tuesday and bought this Nissan Primera Precision.

Create a free website or blog at