- or download this
$string =~ s{
(?<![-\w./])
...
\s?
)
}{<b>$1<\/b>}gimsx;
- or download this
$ regex_slash_prob.pl
<a href="/cgi-programming-with-perl.zip"><b>cgi-programming-with-perl.
+zip</b></a>
- or download this
my $string = qq|
<a href="/cgi-programming-with-perl.zip">
cgi-programming-with-perl.zip
</a>
|;
- or download this
<a href="/cgi-programming-with-perl.zip">
<b> cgi-programming-with-perl.zip
</b> </a>
- or download this
<a href="/cgi-programming-with-perl.zip">
<b>cgi-programming-with-perl.zip</b>
</a>
- or download this
$string =~ s{
(?<![-\w./])
...
[-\w.]*
)
}{<b>$1<\/b>}gimsx;