خرید بک لینک

Vote count: 0

I want to have a regular expression that checks if the letters A-F and a-f occur only once. How do I do this? I want to check for there only being one letter in the user's input, and that letter is either from A-F or a-f.

asked 2 mins ago

1 Answer

Vote count: 0

Search for a single occurrence of a letter in the range, surrounded only by characters outside the range.

^[^A-Fa-f]*[A-Fa-f][^A-Fa-f]*$

answered 19 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 خرداد 1395 ساعت: 8:29

صفحه بندی