Question

REGEX TO PARSE .25 increments. accepted values: 0.25 1.50 2.00 not accepted: .1 0.27 1.51 0.00...

REGEX TO PARSE .25 increments.

accepted values:
0.25
1.50
2.00

not accepted:
.1
0.27
1.51
0.00
.0
0
-1

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The REGEX is:

^(?!0[.]00)[0-9]*[.](25|50|75|00)

EXPLANATION:


TEST CASES:

Add a comment
Know the answer?
Add Answer to:
REGEX TO PARSE .25 increments. accepted values: 0.25 1.50 2.00 not accepted: .1 0.27 1.51 0.00...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • < Question 1 of 15 > EDTA is a hexaprotic system with the pK, values: pKu1 = 0.00, PK 2 = 1.50, PK 3 = 2.00,...

    < Question 1 of 15 > EDTA is a hexaprotic system with the pK, values: pKu1 = 0.00, PK 2 = 1.50, PK 3 = 2.00, pK24 = 2.69, pK5 = 6.13, and pK6 = 10.37. The distribution of the various protonated forms of EDTA will therefore vary with pH. For equilibrium calculations involving metal complexes with EDTA, it is convenient to calculate the fraction of EDTA that is in the completely unprotonated form, Yº-. This fraction is designated ayt....

  • EDTA is a hexaprotic system with the pKa values: pKa1=0.00, pKa2=1.50, pKa3=2.00, pKa4=2.69, pKa5=6.13, and pKa6=10.37....

    EDTA is a hexaprotic system with the pKa values: pKa1=0.00, pKa2=1.50, pKa3=2.00, pKa4=2.69, pKa5=6.13, and pKa6=10.37. The distribution of the various protonated forms of EDTA will therefore vary with pH. For equilibrium calculations involving metal complexes with EDTA, it is convenient to calculate the fraction of EDTA that is in the completely unprotonated form, Y4−. This fraction is designated αY4−. Calculate αY4− at two pH values; ph=3.20 and ph=10.20

  • EDTAEDTA is a hexaprotic system with the p?apKa values: p?a1=0.00pKa1=0.00, p?a2=1.50pKa2=1.50, p?a3=2.00pKa3=2.00, p?a4...

    EDTAEDTA is a hexaprotic system with the p?apKa values: p?a1=0.00pKa1=0.00, p?a2=1.50pKa2=1.50, p?a3=2.00pKa3=2.00, p?a4=2.69pKa4=2.69, p?a5=6.13pKa5=6.13, and p?a6=10.37pKa6=10.37. The distribution of the various protonated forms of EDTA will therefore vary with pH. For equilibrium calculations involving metal complexes with EDTAEDTA, it is convenient to calculate the fraction of EDTAEDTA that is in the completely unprotonated form, Y4−Y4−. This fraction is designated ?Y4−αY4−. Calculate ?Y4−αY4− at two pH values pH=3.15 ?Y4−= pH=10.30 ?Y4−=

  • €/$ exchange rate Euro quantity demanded Euro quantity supplied 0.00 275 25 0.25 250 50 0.50...

    €/$ exchange rate Euro quantity demanded Euro quantity supplied 0.00 275 25 0.25 250 50 0.50 225 75 0.75 200 100 1.00 175 125 1.25 150 150 1.50 125 175 1.75 100 200 2.00 75 225 If the European Central Bank decreases interest rates, what will happen to the supply and/or demand situation for the euro? How is the equilibrium exchange rate and quantity affected? Suppose that EU inflation is higher than US inflation. What will happen to the supply...

  • 1. (8 pts) Virtually every pchem textbook has a table of enthalpy values for 25°C. One...

    1. (8 pts) Virtually every pchem textbook has a table of enthalpy values for 25°C. One use for these may be to calculate the enthalpy for a phase change such as compounds boil at 25°C. You are going to calculate the percent difference between the heat of vaporization of ethanol using data for 25°C and that at its boiling point of 78°C. boiling. However, not too many a) Write the chemical equation that shows the vaporization of 1 mol of...

  • 0.10 00 0.10 TABLE A-3 t Distribution: Critical t Values Ariel 0.005 0.01 0.00 Twe 0.05...

    0.10 00 0.10 TABLE A-3 t Distribution: Critical t Values Ariel 0.005 0.01 0.00 Twe 0.05 1 3101 12.700 2 EOS 3 21 2504 2778 2571 5 7 200 20 DET 2100 SRCE 2015 190 15 10 SI 15 1360 11 12 2.22 2300 205 14 15 21 12 2100 231 200 -Distribution Table.pdf page 2.45 2441 20 10 1.601 1.00 1 SE 1305 2720 2718 2715 2712 2.000 2.00 2008 37 1305 1504 2.000 2020 1.685 1.584 2704 20...

  • could you show calculations please . ncentration of NaOH used in the titration: 0.500 1 of...

    could you show calculations please . ncentration of NaOH used in the titration: 0.500 1 of 1 ss of unknown acid you used in grams. (g) 0.75 PIVO Vuine Measurements Enter all of the following data as prompted by the data point number. You have UNKNOWN A. 4 5 8 Data Point # Volume (mL) pH Data Point # Volume (mL) pH 0.00 1.23 19 17.97 6.40 2 0.99 1.32 20 18.97 6.53 3 2.00 1.41 21 20.02 6.67 2.97...

  • help!! (CH3),CBr + 1 → (CH3),CI + Br the following data were collected: [(CH3)3Br] (M) Time...

    help!! (CH3),CBr + 1 → (CH3),CI + Br the following data were collected: [(CH3)3Br] (M) Time (s) 0.600 0 0.424 10.0 0.300 20.0 0.212 30.0 0.150 40.0 Determine the rate law for this reaction and calculate the rate constant. (20 points) E (V) Thermodynamics: AGº - AH-TAS Nernst Equation: 8 = 8°-(RT/nF)InQ AGⓇ--RTINK At 25°C: 8-6° -0.0591/n)logQ AG RT K-e AG° = -nF8° Units/Constants: Volt: 1 V-1 JC Faraday: 1 F -96,485 C/mole Ea/RT Arrhenius Equation: k = Ae R-8.314...

  • Find the best reducing agent from Cu+, Ag+ F2 and Fe3+ #1. In the reduction table...

    Find the best reducing agent from Cu+, Ag+ F2 and Fe3+ #1. In the reduction table i can see several repeated values of Fe3+ one is equal to 0.77v and the second one is equal to -0.036v so, which one do I choose? Please explain. #2.If I'm asked to find the best oxidation agent, from the values already provided (Cu+, Ag+ F2 and Fe3+) which one would it be? and how would I decide from repeated values, like in #1,...

  • 1. How do I read the half reaction table? 2. If im asked for the best...

    1. How do I read the half reaction table? 2. If im asked for the best reducing agent from Cu+, Ag+, F2, and Fe3+, where do I look first in the table? before the arrow or after the arrow? 3. Sometimes a value that has originally a positive (V) from the table it will have the negative sign in a homework problem, and viceversa, so the question is, how do I use the positive and negative signs in respect to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT