ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Remove tab and new line space using RegularExpression in ASP.Net<p>Hi <a class="username" rel="Kibock">Kibock</a>,</p> <p>Please check the browser console window for error details.</p> <p>If you are getting <strong>MissingKeyMapError </strong>then refer below link.</p> <h1 class="header"><a class="title f16" href="http://www.aspforums.net/Threads/515079/ERROR-Google-Maps-API-MissingKeyMapError-in-ASPNet/">ERROR: Google Maps API MissingKeyMapError in ASP.Net</a></h1>https://www.aspforums.net:443/Threads/185009/Remove-tab-and-new-line-space-using-RegularExpression-in-ASPNet/https://www.aspforums.net:443/Threads/185009/Remove-tab-and-new-line-space-using-RegularExpression-in-ASPNet/Tue, 26 Sep 2017 23:35:24 GMTRemove tab and new line space using RegularExpression in ASP.Net<p>The error occurs because og the line space of&nbsp;</p> <pre style="font-family: Consolas; font-size: 13; color: black; background: white;">txtPersonBruddDescription the in DB column.</pre> <p>Solution was to use in order to remove the line space before adding record to the DB:</p> <pre style="font-family: Consolas; font-size: 13; color: black; background: white;"><span style="color: blue;">string</span>&nbsp;replacement&nbsp;=&nbsp;<span style="color: #2b91af;">Regex</span>.Replace(txtPersonBruddDescription.Text.Trim(),&nbsp;<span style="color: #a31515;">@"\t|\n|\r|"</span>,&nbsp;<span style="color: #a31515;">""</span>); </pre>https://www.aspforums.net:443/Threads/185009/Remove-tab-and-new-line-space-using-RegularExpression-in-ASPNet/https://www.aspforums.net:443/Threads/185009/Remove-tab-and-new-line-space-using-RegularExpression-in-ASPNet/Wed, 27 Sep 2017 10:39:54 GMT