Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 browsing the Monastery: (12)
As of 2014-10-01 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (30 votes), past polls