With Perl-style regexp, is it possible to search for something of an undefined pattern?
For example, [^abc] searches for a SINGLE CHARACTER, not a , not b and c .
But can I indicate something longer than one character?
For example, in the next line, I want to find the first word, which is not a top-level domain name, and does not contain an uppercase letter or, perhaps, more complex rules, such as the presence of 3-10 characters. In my example, this should be "abcd" :
net com org edu ABCE abcdefghijklmnoparacbasd abcd
source share