|
|
 |
Re: FN-FORUM: bulk character insert in text doc
date posted 18th January 2004 22:32
Perfect, thanks Grzegorz.
Thanks Richard and Kathy for your replies too.
regards,
Darren Yates
[EMAIL REMOVED]
http://dittodesign.co.uk
----- Original Message -----
From: "Grzegorz BRZESKI" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Sunday, January 18, 2004 10:02 PM
Subject: Re: FN-FORUM: bulk character insert in text doc
>
> > In Word or Textpad?
> >
> > I have a list of words and I need to insert a character both at the
> > beginning and at the end of each word. Is there a quick and easy
> > way to do this I'm going bog eyed copying and pasting.
>
> I undrestand that this a list of single words in one line.
>
> 1. Textpad
>
> a. F8
> b. check "regular expressions"
> c. Find what: ^
> d. Replace with:
> e. hit "replace all"
>
> g. Find what: $
> h. Replace with:
> i. hit "replace all"
>
> 2. easier solution is to do it in perl from command line (e.g.: cygwin)
>
> $ perl -pi -e 's#^(.*?)$#$1 at end>#g'
>
> --
> Gregory BRZESKI
>
>
>
> --
> ** Get all the Freelance Work you Can Handle *
> The Web Design Business Kit will show you proven tactics
> and strategies for marketing your business, winning bids,
> managing projects and pricing your work. Free Shipping Worldwide.
> Read more & get free chapters at:
http://www.sitepoint.com/launch/b7c91e/3/4
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|