Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-11-22 04:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (315 votes). Check out past polls.

    Notices?