Monday, February 25, 2008

monday 8:34AM

Javascript string matching:
To match strings like "2__ bla", "1__ ha":
rawValue.match(/[0-9]+__/))

Returns null if not found.

No comments: