From: dominikho@... Date: 2009-07-28T15:35:12+09:00 Subject: Re: Regexp Help --=-=-= Content-Transfer-Encoding: quoted-printable Jillian Kozyra writes: > question.gsub! ("$/i", "") > or also: question.gsub! ("$/i", "") First of all: "this is a string" vs. /this is a regexp/ Second: You probably don't want to use $, unless you are sure that the string in question only appears at the end (but then, where is the closing ?) And last but not least: Do you only want to remove the , also the or actually also everything in between those two? Either way, here are some basic regexps: /<\/?a.+?>/ // /.+?<\/a> =2D-=20 Dominik Honnef dominikho@gmx.net --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkpunBsACgkQePZ2jI1LDteqqwCeNYemOjU88k64oJ6hzJWaOh1n ttwAoMOveRBR+xJIKc8cDvLggdKsqgmc =V0UK -----END PGP SIGNATURE----- --=-=-=--