Skip to content

Instantly share code, notes, and snippets.

# add blank lines between lines
find: \R
replace: $0$0
# add string to blank lines
find: ^(?:[\t ]*(?:\r?\n|\r))+
replace: the string
# add string at the end of each line
find: $
let show_all_text = document.querySelectorAll('span[style="display: none;"]')
for ( let i=0; i<show_all_text.length; i++)
{show_all_text[i].style=null}
OR
document.querySelectorAll('span[style="display: none;"]').forEach(x=>x.style=null)
MAL updated their website