How to Copy / Extract HTML Dropdown list Options in Plain Text using Sublime ?

Follow three simple steps to Extract HTML Dropdown list Options in Plain Text using Sublime-

You use Browser Inspect Element Tool to copy HTML Dropdown list Options

For Chrome press CTRL+Shift+I 

For Mozilla press CTRL+Shift+C

then copy the dropdown list data and past into Sublime text editor

sample data

<option>One</option>
<option>Two</option>
<option>Three</option>

Open Sublime text editor and press Ctrl+H for find and replace

Then click Regular Expression and past below Regular Expression into the text box

Find What:
<option[^>]*>([^<]*)</option>
Replace With:
\1\n

Click Replace All

How to Copy or Extract HTML Dropdown list Options in Plain Text using Sublime

 

You get the following result

One
Two
Three