Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

read line by line and search for multiple strings

$
0
0

Hi ,

Please could you advise that how can i perform below:

i have file in which if string entries are present then i need not to append the string otherwise i need to append.

Contents of File is something like this

www.google.com  1st url

www.bing.com 2nd url

www.msn.com 3rd url

Need to search in whole file and then only append the values..Please suggest


Umeed4u


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>