How can I replace these trailing "N megapixels"
strings with ""
using Regular Expression (RegEx.Replace
)?
Examples:
If we enter: "Powershot Yellow 12.1 Megapixels", the result would be: "Powershot Yellow"
if we enter: "Powershot Black II 10 Megapixels", the result would be: "Powershot Black II"