Regex match string that ends with number

What is a regex to match a string that ends with a number for example

"c1234" - match
"c12" - match
"c" - no match

Tried this but it doesn’t work


Thanks again,

Source: regex

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.