What is the regular expression for any number between 0 and 1200? please give some examples of regular expressions for various combinations of characters.

Questions by vineelav

Showing Answers 1 - 5 of 5 Answers

slogasiva@gmail.com

  • May 22nd, 2006
 

For an example in flight reservation application record opening of one order number & coreespondingly open fax order from File after close the Fax order window then using of Data Driven Test give different Order no in the Data table .then go to GUI Map editor there select Fax Order no then press modify

after change the Label like this ( label : "!Fax Order No. .*" ).then run it is taking all the Windows.

  Was this answer useful?  Yes

Vineela

  • May 25th, 2006
 

hello,

I don't think that [0-1200] is the right answer. because there is no logic in it. Like, if we wanna write e reg exp for any name which starts with 'S', we write it as "!S.*" . In the same way, for any range of numbers after a particular no., we can write as "!199[0-9]*". this will match with all the no.s 1990, 1991....1999. so for any no. between 0-1200, I suppose that the reg exp would be ????

 

  Was this answer useful?  Yes

yoga3112

  • Jan 31st, 2007
 

Assuming that 0 is also represented by 0000, then the Regular expression for 0 - 1200 would be ?![0-1][0-2][0-9][0-9]*?

  Was this answer useful?  Yes

Dhanasekar

  • Jul 28th, 2007
 

[0-9]?[0-9]?[0-9]|[1][01][0-9][0-9]|1200

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions