View Single Post
 
Old 09-15-2015, 08:35 PM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Word Regular Expressions: zero or more occurences?

C
C1
C2
CA

Code:
[A-Z]{1}[0-9]{0,1}
[A-Z]{1}[0-9]*
[A-Z]{1}[0-9]?
The above three still cannot find "C", but only "C1" and "C2".
Is there anything wrong with the use of * and ?
It seems that {0,1} is a wrong use.
Reply With Quote