Re: Width | Height Regular Expression
- From: Maate <maate@xxxxxxxxxxx>
- Date: Sat, 2 Feb 2008 09:10:18 -0800 (PST)
I hope this is any help:
three digits:
\d{3}
between one and three digits:
\d{1,3}
percent number (max 100):
(?:100|\d{1,2})\s?%
px/cm:
\d{1,3}\s?(?:px|cm)
On 2 Feb., 17:19, jper...@xxxxxxxxx wrote:
I'm horrible with regular expression and looking for some help.
Searched around and didn't see this one anywhere:
I need a regex to validate a valid height or width.
nnn
nnn% ( ! > 100)
nnn (px | cm)
any help greatly appreciated!!
.
- References:
- Width | Height Regular Expression
- From: jpero09
- Width | Height Regular Expression
- Prev by Date: Re: about events and delegate
- Next by Date: Run time error when subscribing to an event
- Previous by thread: Width | Height Regular Expression
- Next by thread: Re: procedure for C++ & C# application interoperability
- Index(es):
Relevant Pages
|