Sep 11, 2011

Copy/Extract HTML Dropdownlist Options in Plain Text

You want to copy HTML dropdownlist(combobox) options from a web-page. You do right click on dropdown list. Oh my God !!! There is no option to do it. This article explains how to extract dropdownlist options using Notepad++.

Jun 2, 2011

Javascript Backreferences: String Replace with $1, $2…

Learn how to manipulate string easily using javascript back-references. JavaScript has a regular expression object, RegExp provides group functionality by placing part of a regular expression inside round brackets or parentheses. Groups are more powerful because by default these are captured and stored in array(back reference array) and we can use the array later in regular expression for exact matching. Let us understand this by examples: