Search Multiple Strings Using Regular Expression

added by jebarson007
1/30/2011 3:54:52 AM

133 Views

This is small piece of code snippet which I wanted to share as we face this necessity in our day to day programming. Suppose you have a need when you need to search multiple string, say you need to search strings like "int", "float", "string" in a piece of text. Below is how you will achieve it without using any loop and in a simple and straight forward way


0 comments