I have a string in textbox like this
xxxxxxxxxxx 310041 xxxxx xxxxxx xxxx xxxx
RTE STAT: 00 AUTH ID RESP: ERR FLAG: 0 PEM: M (02) ATC: 000000
RVSL REASON: 00 TELLER/SERIAL: / TERM CAP: 5 (EMV)
i need to remove this RTE STAT: 00 AUTH ID RESP: ERR FLAG: 0 to
txtRemark.Text.Replace(" RTE STAT: 00 AUTH ID RESP: ERR FLAG: 0 ", "")
but nothing happened i try with regex but it's not happened too
result must be like this
xxxxxxxxxxx 310041 xxxxx xxxxxx xxxx xxxx
PEM: M (02) ATC: 000000
TERM CAP: 5 (EMV)
txtRemark.Text?txtRemark.Text = txtRemark.Text.Replace(" RTE STAT: 00 AUTH ID RESP: ERR FLAG: 0 ", "")txtRemark.Textvalue