In Progress

Help me fix Python Regular expression line

I have a 32 line program that finds repeated license keys. It works fine. I want to add a line that makes sure that any line that is not a license key is discarded. I am therefore trying to write a regular expression something like this

pat=[login to view URL]('([A-Z0-9]{4}-A-Z0-9]{4}-A-Z0-9]{4}-A-Z0-9]{4}')

e.g. 2YKH-G73D-WGTE-D2UR

if [login to view URL] (pat,i)

m=[login to view URL](pat,i)


so the program will have only one or two lines more than the original

Skills: Python, Regular Expressions

See more: python regex replace, python re.findall example, python re.compile example, python re.sub example, python regex extract, python regex example, python 3 regex, python regex test, regular expression extract phone number, regular expression examples extract data, regular expression freelance, extract data html page regular expression, help fix code, asp regular expression, str_replace regular expression, regular expression html extract table, sms message regular expression php, regular expression java python search engine , regular expression python date, python regular expression date

About the Employer:
( 167 reviews ) Hong Kong, Hong Kong

Project ID: #17699586

4 freelancers are bidding on average $16 for this job


Hi I am a qualified python developer with 8 years of professional experience. I am interested in this project and can start the work right now. Looking forward to hearing from you soon. Best Regards, Yongta More

$17 USD in 10 days
(74 Reviews)

Hi, Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have got Rich experience in Jooml More

$13 USD in 7 days
(0 Reviews)
$17 USD in 10 days
(0 Reviews)
$15 USD in 2 days
(0 Reviews)