Hello All,

I have a regular expression template question if I may.

Lets say I have this string -

CC: Apparel : Red Shoes : Prints : Madden

*there might be a case where there is no space before or after the ":".

Why I want is to extract "Madden", basically all non-space chars after the last 
":" or if anchoring from the back, all chars up to ":" (not including the : or 
space).

All help is appreciated

Thanks,
E
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to