[wtr-general] Re: Regex question

2009-04-08 Thread ANu Gangavaram
When using regular expression with a variable, the syntax is /#{str}/ On Wed, Apr 8, 2009 at 9:30 PM, vladimir...@hotmail.com vladimir...@hotmail.com wrote: I have a string obj_url = http://crisp.adoc.xerox.com:8080/docushare/dsweb/Get/ Document-77/ and need to extract 77. This code

[wtr-general] Re: Regex question

2009-04-08 Thread vladimir...@hotmail.com
Thank you, ANu. It works. On Apr 8, 6:40 pm, ANu Gangavaram anuwri...@gmail.com wrote: When using regular expression with a variable, the syntax is /#{str}/ On Wed, Apr 8, 2009 at 9:30 PM, vladimir...@hotmail.com vladimir...@hotmail.com wrote: I have a string obj_url =