Replace Character with 5 numbers
Posted: Mon Jul 06, 2015 7:17 pm
Hello,
I am using the trial of TextCrawler3 Pro and I am having trouble.
I want to replace all instances of "O12345" in a file to "N12345". The "12345" can be be any set of numbers so I set my regex to this:
[oO]\d\d\d\d\d
This works fine and detects all instances of O with 5 numbers after it.
But what do I set the replace string to? For example, I want to change "O93212" to "N93212", but for the life of me I can not figure out what to do in the replace box.
I tried N\d\d\d\d\d but that just changes the O93212 to N\d\d\d\d\d in the file.
Thanks.
I am using the trial of TextCrawler3 Pro and I am having trouble.
I want to replace all instances of "O12345" in a file to "N12345". The "12345" can be be any set of numbers so I set my regex to this:
[oO]\d\d\d\d\d
This works fine and detects all instances of O with 5 numbers after it.
But what do I set the replace string to? For example, I want to change "O93212" to "N93212", but for the life of me I can not figure out what to do in the replace box.
I tried N\d\d\d\d\d but that just changes the O93212 to N\d\d\d\d\d in the file.
Thanks.