Question: JAVA: need help coming up with a code In a class called RegExpStuff write a method isValidOST that will check, using a regular expression, to

JAVA: need help coming up with a code

In a class called RegExpStuff write a method isValidOST that will check, using a regular expression, to see if an entered string is a valid OST Number. The rules for valid cst numbers are as follows: Write a method isValidOST that will use a regular expression check to see if a ost Student # was entered correctly according to the following rules. The name must start with either OSTor ost A 3 digit number must follow the ost string. The number must be in the range of 100 to 150 or in the range 200 to 240. The signature for this method is public static boolean isValidOST(String sNumb)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!