0

I have created a database in access and I want the value of a field to accept values as follows:

capitalCharacters-numbers

How can I define a regular expression for this case?
I use Access 2003. I tried the Like ("[A-Z]-[0-9]"), but it doesn't work.

June7
  • 19,874
  • 8
  • 24
  • 34
glo
  • 75
  • 6
  • Does this answer your question? [How to use Regular Expressions (Regex) in Microsoft Excel both in-cell and loops](https://stackoverflow.com/questions/22542834/how-to-use-regular-expressions-regex-in-microsoft-excel-both-in-cell-and-loops) – Toni Nov 01 '22 at 10:59
  • Exactly where did you use that expression? Have you explored textbox InputMask property? – June7 Nov 02 '22 at 03:04

0 Answers0