CPP + Regular Expression to Validate URL

后端 未结 2 398
你的背包
你的背包 2021-01-13 05:53

I want to build a regular expression in c++{MFC} which validates the URL.

The regular expression must satisfy following conditions.

Valid URL:- http://cu-241

2条回答
  •  無奈伤痛
    2021-01-13 06:21

    look at http://gskinner.com/RegExr/, there is a community tab on the right where you find contributed regex's. There is a URI category, not sure you'll find exactly what you need but this is a good start

提交回复
热议问题