Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-15-2015, 08:35 PM
tinfanide tinfanide is offline Word Regular Expressions: zero or more occurences? Windows 7 64bit Word Regular Expressions: zero or more occurences? Office 2010 32bit
Expert
Word Regular Expressions: zero or more occurences?
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Regular Expressions: zero or more occurences? regular expressions in footnotes loes Word 3 09-04-2019 07:52 AM
Word Regular Expressions: zero or more occurences? Regular expressions for text with complex formatting Kreol2013 Word VBA 1 04-12-2013 07:33 PM
regular expressions for empty lines eNGiNe Word 1 01-21-2013 06:38 AM
Word Regular Expressions: zero or more occurences? Regular Expressions: [!0-9] does not work??? tinfanide Excel Programming 4 05-30-2012 04:09 AM
Issue skipping characters by Regular Expressions in Word pochtara Word VBA 0 04-01-2010 05:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft