^(\w+\s+\w+)
string strVal = "700,236 lblVoucherNo "; string[] newStrArr = strVal.Split(' '); string newStr = newStrArr[0]; Response.Write(newStr);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)