Re: Expression Help
- From: yitzle@xxxxxxxxxxxxxxxxxxxxx (Yitzle)
- Date: Wed, 27 Feb 2008 15:18:19 -0500
How about providing the code that you are working with?
This ought to work:
s/C:\\Dir 1\\Dir 2\\Dir with more spaces/replacement/
__CODE__
$in = 'C:\Dir 1\Dir 2\Dir with more spaces';
$in =~ s/C:\\Dir 1\\Dir 2\\Dir with more spaces/replacement/;
print "$in\n";
__OUTPUT__
replacement
- References:
- Expression Help
- From: Joseph L. Casale
- Expression Help
- Prev by Date: Expression Help
- Next by Date: Re: How to read from keyboard?
- Previous by thread: Expression Help
- Next by thread: Re: Expression Help
- Index(es):