Quantcast
Channel: URL Validation function improving - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by Jigar Pandya for URL Validation function improving

$
0
0

Try to change the *regex = line with following.

NSString *regex = "(http|ftp|https)://[\w-_]+(.[\w-_]+)+([\w-.,@?^=%&:/~+#]* [\w-\@?^=%&/~+#])?"


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>