Dividing using a RegEx

VBchick

Newcomer
Joined
May 6, 2004
Messages
1
I have the following two regular expression. I need to extract the Price divided by Unit. How can I do it with these two?? The problem is that the Unit has "GB". How can I create a regular expression where I can disable the GB and do the numerical division.


Dim regexPrice As New Regex("\$\d+(\.\d+)?")
Dim regexSize As New Regex("(\d+)GB", RegexOptions.IgnoreCase)

Thank You
 
Back
Top