Search found 2 matches

by JoeBlack
Thu May 16, 2013 5:35 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: inverted subpattern
Replies: 3
Views: 9260

Re: inverted subpattern

I tried another tools and online services without success.

I used advasar for counting and replacing. Its very old tool and not supported anymore. BTW it have some interesting options. You can check it.
by JoeBlack
Tue May 07, 2013 6:17 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: inverted subpattern
Replies: 3
Views: 9260

inverted subpattern

Hello.

I need to find lines containing different numbers at the end. Numbers must not be equal. For example:


anyword 33
anyword 45


This regexp is not working.

anyword\s+(\d+)\s+anyword\s+(?!\1)

I can find lines with equal numbers:

anyword\s+(\d+)\s+anyword\s+\1

But how to find lines ...