Here is what I used to generate this:sample1STARsample2STARsample3*sample4*sample5
Note the escaped backslash in the regexp.#!/usr/bin/env perl use warnings; use strict; my $value = 'sample1\*sample2\*sample3*sample4*sample5'; $value =~ s#\\\*#STAR#g; print "$value\n";
In reply to Re: Regex problem
by toolic
in thread Regex problem
by siraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |