Sam Duncan wrote in post #1078254:
> On 10/02/2012 10:58 AM, ajay paswan wrote:
>>>
>>> Sam
>> What if: str="<a>kl1</a><a>22ik</a><a>3o</a>" ?
>>
> 1.9.3p125 :002 > str.scan /<a>[[:alnum:]]+<\/a>/
>   => ["<a>kl1</a>", "<a>22ik</a>", "<a>3o</a>"]
>
> Ping pong
>
> I think perhaps you should read up on regular expressions in Ruby =]
>
> Sam

I have gone through it previously but could not figure it out, is '.' 
denotes any character?

-- 
Posted via http://www.ruby-forum.com/.