Always remain updated about current software development trends

Articles having tag: REGULAR-EXPRESSION

The Regular Expression Skidmarklet

From Pins to Poops, your bookmark bar can do more. Read about the Skidmarklet... a JavaScript Bookmarklet and lessons in RegEx.

Parsing Latitude and Longitude Information

Parses user input and extracts latitude and longitude information, taking into account the user's language and regional settings

Remove all the HTML tags and display a plain text only inside (in case XML is not well formed)

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?

Decode quoted-printable data by Regex

A "single-liner" to decode quoted-printable data.

Checking for "any character" using regular expressions in multiline text

\\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:...

Checking for "any character" using regular expressions in multiline text

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.

Parsing Latitude and Longitude Information

Parses user input and extracts latitude and longitude information, taking into account the user's language and regional settings