Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: regex pattern match

by reaper9187 (Scribe)
on Apr 01, 2013 at 14:16 UTC ( #1026492=note: print w/ replies, xml ) Need Help??


in reply to regex pattern match

Ok .. So here's the breakup.
I have a text file filled with entries like :
"ABC","DEF","B","C:\Users\Dave\Documents";
The user inputs the following arguments: 1. The part of text to be replaced 2. The new text(to replace the substituted text)

So for eg: the User i/p for the text to be replaced(option1) is : C:\Users\Dave
and the I/p for option2 is : E:\Dave

the final output should be:
"ABC","DEF","B","E:\Dave\Documents";
Please help ..1!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-06-30 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.