Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build Pattern Match String in VB.Net

Status
Not open for further replies.

ReportDr00

IS-IT--Management
Mar 2, 2007
194
US
Hello

I need help in building pattern match for the strings given below. I need to look this up in input string and parse the string out based on pattern that will match below string. It does not need to be one pattern for all below it could be one pattern for each then i can put an or statement. Also if there is tool that i can enter a string that will give me the pattern that i can use. Your help is greatly appreciated.

1.34MG
25MG/ML
25MG
6.25MG/5ML
1.5GM
2GM
125-31.25
500-125MG
1GM/50ML
2G/100ML
3.1GM/100 ML
200MG/100ML



Regards
Armani
 
I believe RegEx can, but that is the most I can help. There is something that prevents me from getting the concept of it at this time so I just don't get it. The same thing happened with pointers years ago. Some day I'll likely wake up and understand it the same way. Still if you start looking at it and can't figure it out by then someone who can may have answered.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
That seems to be a good advice because this op, from their profile, all along did not find this site very helpful. There is no reason suddenly they find it the contrary.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top