LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
MSK MSK is offline
external usenet poster
 
Posts: 1
Default RegExp - String in VBA

Hi,

I am just trying to validate my controls using RegExp in VBA, My
request is

1. Users are not allowed to enter any text which contains only special
chars (either single char or 'n' chars)
e.g. : ....................... or /////////////////////
or )))))))))))))))))) or ***************

2. Users are not allowed to enter any text which contains combination
of the special characters
e.g. : ............///////////$$$$$$$$ or (((((((()))))))){{{{{{{{ or
||||||||||||\\\\\\\\\???????

Basically users can enter Any text but length should be minimum 3
chars and
They can use these special characters in between the text.

e.g. 1 - This is test message -- given by Mr. M.S.K
e.g. 2 - "Hello !!!!"- I am M.S.K(USA)

What's the correct RegExp ?

Thanks in advance

MSK.

 
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
regular expression parse string Perl $1 VBScript.RegExp [email protected][_2_] Excel Programming 7 July 14th 07 04:12 PM
Is there any regexp and hashtable management in Excel VBA? Patrice[_5_] Excel Programming 6 February 18th 07 10:37 AM
Declare RegExp from Vbscript.dll Bob Phillips Excel Programming 0 January 16th 07 07:45 PM
RegExp to Parase File paths bv003 Excel Programming 5 November 1st 06 05:37 PM
How do you look for two distinct patterns (RegExp) ExcelMonkey Excel Programming 1 August 7th 05 11:29 PM


All times are GMT +1. The time now is 06:25 AM.

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"