Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Regular Expression for string formation
sampath meka
Oct 20 2014 5:26 AM
604
Reply
Hello All,
This is sampath, i have one query for string formation from the strings provided.I was thinking whether this can be achieved through regular expression. Kindly help me in this regard.
string str1 = "Declare Local variable "<var>" of type "<datatype>" and initialize with "<value>"" ;
string str2 = "Declare Local variable b_test of type bool and initialize with 10";
Need to extract the values <> to same word in str2.
When i pass two aruguments for a function and function should return the output has below mentioned:
bool b_test =10;
kindly help me in this regard...
Thanks
Sampath
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Properties and execution bar
i need to enable requirfield validator via javascript