Showing posts with label regex. Show all posts
Showing posts with label regex. Show all posts

Monday, August 31, 2009

Regex Pt. II

For some reason my page was transferring to client side when it should not have been at all. To solve the problem I put

myString.match(/^\d+$/)

in JavaScript to determine if a string had any non-numeric values. I didn't want to be passing them to my c# routines. Was getting some nasty errors, boy. I'm still figuring out why my

javascript:CallMe

was being executed at all. I'll think on it.

Thursday, November 13, 2008

Regexing

I was doing some Regexing last night in dealing with the input string search string. An interesting function it is, that Regex. Basically I want to keep weird chars out.