Regex for AM PM time format for jquery

I am being frustrated by a regular expression to mask the input field. I want to Limit input to hh:mm AM|PM format and I can't get this regex to work. I use this regex in conjunction with a jquery tool from ``. It was the filter_input.js tool or whatever. It seems to work for a simple regular expression but the one I came up with doesn't seem to work. This is my jsFiddle test link below. [jsFiddle][1] [1]:

以上就是Regex for AM PM time format for jquery的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准