2
Answers

How to Write Regular Expression

Hello All,
 
I want to break the below string:
 
string str ="((G011, G012))";
 
Output:
 
G011
G012
 
Thanks in Advance
 
 
Answers (2)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram