Emacs regex search for lines with less then 20 characters -


so if have txt file variable line length, how search emacs regex lines fewer of number (let 20) of characters.

this should job matches line between 0 , 20 tokens on it

^[^\n]{0,20}$

^ start of line (or string)

[^\n] not new line

{0,20} previous between 0 , 20 times

$ end of line (or string)


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -