Regular Expression help

Posted by user104628 on Stack Overflow See other posts from Stack Overflow or by user104628
Published on 2010-05-26T07:41:56Z Indexed on 2010/05/26 7:51 UTC
Read the original article Hit count: 332

Filed under:

hi everyone. I can't seem to make my regular expression work.

I'd like to have some alpha text, no numbers, an underscore and then some more aplha text.

for example: blah_blah

I have an non-working example here

^[a-z][_][a-z]$

Thanks in advance people.

EDIT: I applogize, I'd like to enforce the use of all lower case.

© Stack Overflow or respective owner

regular expression help

Posted by JPro on Stack Overflow See other posts from Stack Overflow or by JPro
Published on 2010-05-26T13:28:16Z Indexed on 2010/05/26 13:31 UTC
Read the original article Hit count: 332

Filed under:
|

I always get confused using regular expressions. Can anyone please suggest me a tutorial?

I need help with checking for a string which,

cannot contain any wild characters except colon, comma, full stop.

It will be better to replace these if found.

Any help?

Thanks.

© Stack Overflow or respective owner

Related posts about regex