RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Blood Pressure
Expression
^\b(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)\\/(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)$
Description
Validates blood pressure in the format systolic/diastolic. both systolic or diastolic can be any number between 1 and 299
Matches
172/58
Non-Matches
200/ or 128/369
Author Rating: The rating for this expression. Marc Lang
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: This works
Name: Serge
Date: 7/21/2011 5:47:01 PM
Comment:
^(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)/(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)$


Title: This works
Name: Serge
Date: 7/21/2011 5:46:41 PM
Comment:
^(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)/(29[0-9]|2[0-9][0-9]|[01]?[0-9][0-9]?)$


Title: No workie?
Name: guest
Date: 3/2/2010 10:41:47 AM
Comment:
I clicked on TEST button (top right) and copy/paste 172/58 into Source and get no resuts... Tried same expression on different site (regex tester) with same results...???


Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials