Regex: To match C#, Java, VB.Net Comments

Ever worked on removing comments from a C#, Java, VB and VB.Net code?

Well, just adding 2 reg-ex to your library…

Click Regexlib.com to navigate to the actual page

C#/Java Matches: /* multi-line */ | // comment | /// XML Comment

VB/VB.Net Matches: REM comment | ‘comment | ”’ XML comment

Continue reading » · Rating: · Written on: 04-29-08 · No Comments »

Nights of dreams, days of no-gains…

I am dead, calls my soul,
Love and lust, have left me alone,
I wish I were this free, Ever ago,
Tears then would’ve never flown.

O’ what love had I been in, with smile
Was pain beautifully packed-in,
Remember not, those days of stains,
Nights of dreams, and days of no-gains..

by Punit Ganshani
28th April, 2008

Continue reading » · Rating: · Written on: 04-28-08 · No Comments »