top of page

regex search for between X and Y instances of characters

A regular expression search for a string between X and Y numbers can be structured by following the character search by two numbers in curley brackets separated by a comma. So this search:


\r\n[A-Za-z]{2,3}\r\n


. . . will find any instances of a word between 2 and 3 letters which is listed on one line.











Comments


bottom of page