How to build regex for not returning empty string if none of the groups return result

后端 未结 0 473
半阙折子戏
半阙折子戏 2021-01-16 15:55

I\'m trying to build a regex to match timesheet hours entry where user enters his hours in the format 20h 50m.

In this format, the user can either enter

相关标签:
回答
  • 消灭零回复
提交回复
热议问题