javascript: a regular expression for "somestring A.B.C(anything can be here)"

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-06-17T03:18:27Z Indexed on 2010/06/17 3:23 UTC
Read the original article Hit count: 258

Filed under:
|

Given a string like, "xyz A.B.C.(anything)" (there's at least one space/tab/newline between z and A.)

I'd like to find "A.B.C".

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex