Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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!!


Comment on Re: regex pattern match
Download Code

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 exploiting the Monastery: (12)
As of 2015-07-31 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls