Title |
Test
Find
Yes or No combinations
|
Expression |
^(?:Yes\b|No\b|yes\b|YES\b|YEs\b|yeS\b|yEs\b|NO\b|nO\b|no\b) |
Description |
This regex will match below values only
YES
yes
Yes
YEs
yEs
yeS
NO
no
No
nO |
Matches |
YES yes Yes YEs yEs yeS NO no No nO |
Non-Matches |
Except YES yes Yes YEs yEs yeS NO no No nO |
Author |
Rating:
Not yet rated.
Kiran Tailor
|
Source |
|
Your Rating |
|