- Posted by
- The vertical bar | means OR in a Perl regular expression search string, except this character is escaped with a backslash or is within square brackets which define a character class. It is of course possible to search for lines with 16 or more OR with less than 15 separators/delimiters : ^ (?: (?: [...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Mofi
Jul 03, 2018
- The first one matches whole lines containing 15 or more delimiters. The second one finds lines containing 14 or less delimiters. Just try them. ;) EDIT: For searching lines with delimiter count <> 15 use this (for example): ^(?!(?:[^\|\r\n]*+\|){15}[^\|\r\n§]*+§) BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jul 03, 2018
- Hi eripey , ^(?:[^ \| \t\r\n]*+ \| ){15}.*\r\n For searching lines with less than 15 delimiters use this: ^(?!(?:[^ \| \r\n]*+ \| ){15}) BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jul 03, 2018