On May 20, 2013, at 05:53, Dom O'Brien wrote:
> I'm trying to work out a search and replace syntax to the following numbers:
__
Hey Dom,
That's not really a job for find/replace since some calculations are required.
Maarten and
On 20/5/13 at 11:53, dom.obr...@gmail.com (Dom O'Brien) wrote:
1,4
I want to add a "_" to the first number ("1_") and repeat to
the value of the next number. so 1,4 would end up being
1_1
1_2
1_3
1_4
Here's a Perl text filter that will do it:
#!/usr/bin/perl
while (<>){
if (/(\d+),(\d+)
On 20 mei 2013, at 12:53, Dom O'Brien wrote:
> Hello - I'm trying to work out a search and replace syntax to the following
> numbers:
>
> 1,4
>
> I want to add a "_" to the first number ("1_") and repeat to the value of the
> next number. so 1,4 would end up being
>
> 1_1
> 1_2
> 1_3
> 1_4
Hello - I'm trying to work out a search and replace syntax to the following
numbers:
1,4
I want to add a "_" to the first number ("1_") and repeat to the value of
the next number. so 1,4 would end up being
1_1
1_2
1_3
1_4
I can't work out the syntax - can anyone help??
with thanks!
dom.
--