Quote:
Originally Posted by un_pogaz
{50} alone work only for a text with an exact length of 50 character
for >=50 use {50,}
for <=50 use {,50}
|
No it doesn't. It works if the text is 50 *or more* because there isn't an trailing anchor ($) on the expression. Finding 50 characters doesn't rule out there being 51.
This screen capture shows it working using the expression '^.{5}'