Help with regular expressions and gsub

I need to use gsub in a large text. For example, I will like to search
for ‘car’ in this text.

“Lorem ipum car. Locar ipsum,

car lorem ipusum

.Lorem car ipsum”

I will like to put ‘bike’ instead of ‘car’. Exactly I need this words,
and not ’ bike ', for example. Also, I do not want to do ‘Lobike’ in
‘Locar’ (it should remain ‘Locar’).

I’ll appreciate any help.

could you use regular expresion??

On Fri, Apr 17, 2009 at 10:41 AM, John S. <
[email protected]> wrote:

I’ll appreciate any help.

Posted via

Ror-es mailing list
[email protected]

J. Martin Fernandez Szutner
[email protected] [main address]
móvil: ++521(662)224.02.81
msn: [email protected]
skype: martinszutner

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any
other informat ion herein, please advise the sender immediately by reply
this e-mail and delete this e-mail and its attachments.

2009/4/17 Martin S. [email protected]

could you use regular expresion??

Hi guys,

you’re posting to the ror-es mailing list. The official language for
list is Spanish, so I’m gonna have to ask you to take the thread to
elsewhere (or switch to Spanish :wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs