codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  javascript for checking the repeated occurace of character  dawngeorge at 08:16 on Friday, October 14, 2005
 

Hi all
I want a function which checks teh repeated occurance(three times continously) of any alphabetic character
for example
occurance of aaa in soaaanam ...
occurance of bbb in sobbbm

please help

Regards
Dawn George

  Re: javascript for checking the repeated occurace of character  hemangkapadia at 09:24 on Thursday, July 27, 2006
 

Try this

myRe=\b([a-z][a-z][a-z]) \1\b;








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  DHTML with Active X & codesigning
•  toggling between multiple layers.
•  Restricting a user from selecting a Entry in the Combo box
•  Need a dialog box while downloading a file from IE
•  Script won`t play in Internet Explorer
•  How to write into the STDIN?
•  Parsing XML with Ajax & PHP.. more of a JS question really
•  Re: Help: Trouble with z-Index and SELECT lists
•  enable listbox by selecting the radio button and redirect the page based on the selected index


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006