Current location: Hot Scripts Forums » Programming Languages » ASP » RegExp


RegExp

Reply
  #1 (permalink)  
Old 08-25-03, 12:15 PM
Mister B.'s Avatar
Mister B. Mister B. is offline
Wannabe Coder
 
Join Date: Jul 2003
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Question RegExp

I know this can be done, and I am sure if I spent long enough I could do this. Is there a really concise way of formatting textboxtext? I know you can you RegExp, but it seems there might be a simpler way?
__________________
God save us from the religious fanatics
Reply With Quote
  #2 (permalink)  
Old 03-09-05, 05:31 AM
GO4TF4CE's Avatar
GO4TF4CE GO4TF4CE is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

I personally use a combination of instr and the replace function to keep things simple.

So if you need to check for a email then instr(mytext,"@") would return 0 if it wasnt found. You could obviously take this further to check for various other characters.

I'm not too sure if this will solve your problem or not.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump


All times are GMT -5. The time now is 03:18 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.