Join the Stack Overflow Community
Stack Overflow is a community of 6.3 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

I am trying to convert a regex from PHP to VB.Net. Does anyone know of a software utility, or conversion chart to do so? The regex is the following: name=\"?(.*?)\"? value=\"(.*?)\". Any help will be appreciated.

share|improve this question
up vote 1 down vote accepted

You need to escpae double-quotes in VB by doubling the double-quotes(""):

Your regex would be

 name=""?(.*?)""? value=""(.*?)""
share|improve this answer
    
So two quotes count as one? – Uriel Katz Jun 29 '13 at 6:29
    
Uriel Katz yes. – Anirudha Jun 29 '13 at 6:31
    
Thank you, appreciate it. – Uriel Katz Jun 29 '13 at 6:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.