如果想匹配如下形式的序列号,每组5个字符A-Z0-9,一共四个"-"间隔,该如何写正则表达式?EV7EM-MEHJS-54RK5-WQOXY看了一下教程,不是很明白,只能暂且写了个这样的:var reLicKey = new RegExp("^[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9]{5}-[A-Z0-9
在做 python practice book 的习题,完成如下问题:Problem 8: Write a program links.py that takes URL of a webpage as argument and prints all the URLs linked from that webpage.要求使用 python 的 re 模块。遇到的问题:正则表达式 (src|hre