Hello, we just bought Compare It. I want to make a rule (RegEx). The linenumbers should be excluded in the compare action.
File nr. 1:
01 blabla
02 dfsdfsdf
003 werwe
N04 qwqwe
File nr. 2:
01 blabla
02 dfsdfsdf
03 werwe
04 qwqwe
As you see, the text in both files are similar. But the linenumers aren't. How can i make a rule so compare IT just looks at the text and not the linenumbers?
Thanis in advance.
Dick
Assistence
Re: Assistence
In other words, i want to start comparing after the first space.
Does anyone have an idea?
Does anyone have an idea?
Re: Assistence
I've tried this one with your data on http://www.regextester.com
Code: Select all
\s\w+(\s)+
Re: Assistence
Do i have to place it in Search(R1)?
And what 'Action' do i select? Ignore lines not matching R1?
Would you be so kind to sent some screenshots?
Thanks
And what 'Action' do i select? Ignore lines not matching R1?
Would you be so kind to sent some screenshots?
Thanks
Re: Assistence
I guess the regex engine used by CI! is quite different from the one at regextester.com. That's not nice
I got success by entering at R1: and selecting Replace. The enabling and naming you can figure out by yourself I guess
All other settings for regex should be empty. I've been using the latest unicode release from Developers blog (15-05-2011, build 2242), but older releases should work as well.
Luck,
Ton

I got success by entering at R1:
Code: Select all
^\w+\s+

All other settings for regex should be empty. I've been using the latest unicode release from Developers blog (15-05-2011, build 2242), but older releases should work as well.
Luck,
Ton