Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.

2021 Useful tools and tips for web work

posted on May 2, 2021 by Mark Roxberry
keyboard view
Post to capture tool and tips.

Tools and Tips

Blog post to capture useful web tool and tip stuff

Html Select Options to Plain text

  1. On the page with the dropdown box (in HTML, the select box), inspect the element.
  2. Copy the options in the <select> element or copy the <select> item and delete the <select> open and close tags.
  3. Paste into a file into Visual Studio Code
  4. Using Find and Replace, select the Regular Expression search in the Find input box.
  5. Use the following regex \s*</?option.*?>
  6. In Replace, leave empty and select Replace / Replace All