Please help me this is my code
Code Behind:
protected void txtPincode_TextChanged(object sender, EventArgs e)
{
try
{
TextBox lsender = (TextBox)sender;
if (lsender.Text.Contains("(") && lsender == txtPincode)
{
lsender.Text = lsender.Text.Split('(')[1].Replace(")", "");
}
}
catch (Exception exp)
{
Log.writeLog(exp);
}
}
.aspx code:

Sridhar John85 reputationPosted Jun 11, 2019, 2:00 AM EDT
Sivakumar KonetiRank #1,557 · 1K reputationPosted Jun 11, 2019, 2:03 AM EDT
Ronika JencyRank #770 · 3K reputationPosted Jun 11, 2019, 4:51 AM EDT
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted Jun 11, 2019, 12:35 PM EDT