I am trying to find out if a string contains [city.----]
and where the ----
is, any city could be in there. I just want to make sure it's formatted correctly. I've been searching for how I can ask Python to ignore that ----
but with no luck. Here is an example on how I would like to use this in the code:
if "[city.----]" in mystring:
print 'success'