Regular Expression to match a string

Posted by Adam Witko on Stack Overflow See other posts from Stack Overflow or by Adam Witko
Published on 2010-05-20T08:07:29Z Indexed on 2010/05/20 8:10 UTC
Read the original article Hit count: 127

Filed under:
|

Hi,

I've got two possible string inputs that my application will receive, and if it matches the following two strings, I need it regex.ismatch() to return true:

"User * has logged out"
"User * has joined"

I'm not that good at regex and just can't figure out how to go about matching the above.

Any help would be great!!!

© Stack Overflow or respective owner

Related posts about regex

Related posts about c#