Tech Diary
October 13, 2016
Regular expression to remove blank lines
If you are using Notepad++, replace ^[\n\r]+ with nothing in the replace
Regular expression to remove html
and get only values from a select list
Regular expression : ^<.*>
Replace ^<.*> with blank if we use Notepad++
Example:
<option value="/html/A.htm">A
<option value="/html/B.com">B
<option value="/html/C.htm">C
The replace will produce:
A
B
C
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)