Always remain updated about current software development trends
From Pins to Poops, your bookmark bar can do more. Read about the Skidmarklet... a JavaScript Bookmarklet and lessons in RegEx.
Parses user input and extracts latitude and longitude information, taking into account the user's language and regional settings
Remove HTML and get a plain text from inside
I think the following Regex and HtmlDecode would do:string html = ...;string textonly = HttpUtility.HtmlDecode( Regex.Replace(html, @"|", ""));Any HTML construct that would not be stripped off properly by this?
\\S does not / did not work on all versions of RegExp on Microsoft JScript / VBScript (sorry to be vague - I just recall having to avoid it because it was flakey). Instead you could try Start([.|\ ]*)End (match everything except newline and newline)Update:...
For .NET and Perl Regex: Instead of changing the Regex pattern, use the RegexOptions.Singleline (.NET) or "s" modifier (Perl). This enables "." to match newline.
".*" may not be what you want in multi-line strings
Parses user input and extracts latitude and longitude information, taking into account the user's language and regional settings
c# .net dev intermediate asp.net windows sql beginner silverlight advanced c++ architect javascript sql server wpf mysql html5 mobile c#4.0 jquery