Y
Hacker News
new
|
ask
|
show
|
jobs
by
lazopm
2690 days ago
I think you can just iterate over the text nodes and see if you stumble upon every letter you're looking for in the right order, it would work for any kind of randomly added text.