Stephen Forte's Blog

 RSS/Feedburner
      Home     Steve & The Tank       

  Thursday, June 26, 2003

     North African Developers Conferencexmlnamespace Prefix O Ns

North African Developers Conference

Day 1 of the North African Developers Conference  and I have to say that North African developers were either very polite or liked my jokes! (Well Bill Gates is such an easy target!). Translation was not a problem, I started in Arabic (which lasted about 2 minutes), switched to French which lasted about 2 seconds and then to English. I talked SLOW, yes slow. It was hard talking like a normal person, but hey it worked.

Developers were very interested in SQL Server Merge Replication in my Using SQL Server CE & SDE to build Enterprise Solutions talk. The Using Regular Expressions in Windows Forms & ASP.NET (Code and Slide Download) this afternoon went very well. ASP .NET validation controls were very popular as well as this code to remove HTML:

 

public string RemoveHTML(string strHTML)

{

//Using the \ escape inside the string

string strPattern = "<(\"[^\"]*\"|'[^']*'|[^'\">])*>";

//create a new RegEx as a pattern

Regex rxReplace = new Regex(strPattern, RegexOptions.IgnoreCase);

//do the replacement

string strNoTag = rxReplace.Replace(strHTML, "");

//return the string w/o the HTML in it

return strNoTag;

}

 

 





Thursday, June 26, 2003 7:01:42 AM (Eastern Standard Time, UTC-05:00)
Comments [11]  |  Trackback












newtelligence dasBlog 2.0.7226.0

Copyright © 2008 Stephen Forte. Available under the Creative Commons Attribution 3.0 License.

 The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way