SyntaxFix
Write A Post
Hire A Developer
Questions
Why use Regex when you can simply use the Trim() method
Text='<%# Eval("FieldDescription").ToString().Trim() %>'
OR
string test = "Testing "; test.Trim();