LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Modifying regex to accept comma's?



Also posted he 'VBA Express Forum'
(http://www.vbaexpress.com/forum/showthread.php?t=27363)

Hi all i'm using regex (provided for me by some one else because i
don't have the foggiest with it) to force an entry of letters (at least
for the first two, rather than all numeric, however i want the user to
be able to enter the data in this fashion xxxxxx, xxxxxx where x will be
a character, however, using this ^[a-z]{2}[a-z ]*$ does not allow the
comma, can someone help modify it to accept it?


--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=110364

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Comma's with Dash [email protected] Excel Worksheet Functions 3 May 5th 23 11:45 AM
Excel do not accept any comma's (,) making them unusable... Help! Gertjie Deysel 16404 Excel Worksheet Functions 2 December 10th 07 10:41 AM
Removing Comma's [email protected] Excel Programming 0 January 10th 07 11:09 AM
Removing Comma's RichardSchollar Excel Programming 0 January 10th 07 09:56 AM
ComboBox properties---need to recognize comma's in numgers Ed P[_2_] Excel Programming 2 December 9th 04 08:33 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"