dart regex with variable code example Example: dart regex for url bool _validURL = Uri.parse(URL).isAbsolute;