List Info

Thread: Re: How to verify the values in the tages




Re: How to verify the values in the tages
country flaguser name
United States
2007-04-16 03:36:31
thanks for your help and it is working for single return...
however i have 2 carriage returns after first line.

ex: data="first line

second line"

so it will appear as "first line rnrr second
line" ...

could you please help what need to be added for regular
expression to solve this issue.

Thanks in Advance.

Regards
Vamsi
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general

Re: How to verify the values in the tages
user name
2007-04-16 11:02:24
"s+" means "match any white space
characters", so the regex will
match any number of tabs, spaces, crs, and/or lfs.


On 4/16/07, vamsi <forum-watir-usersopenqa.org> wrote:
> thanks for your help and it is working for single
return... however i have 2 carriage returns after first
line.
>
> ex: data="first line
>
> second line"
>
> so it will appear as "first line rnrr second
line" ...
>
> could you please help what need to be added for regular
expression to solve this issue.
>
> Thanks in Advance.
>
> Regards
> Vamsi
> _______________________________________________
> Wtr-general mailing list
> Wtr-generalrubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )