I have data of the form
CS989_-RED814298959
CS663_RED812657324
RED819238322_CS537
......
This data is in csv file. I want to retrieve all the sub strings starting with RED. Please suggest me a way to do this using regular expression in python
I tried following code:
import re
string="RED819238322_CS537"
substring=re.match("[a-zA-Z]*//([0-9]*)",string)
It's returning None
//in your data, why do you expect this to match?