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
(?|c(?|[0-9]*$))
Thanks again,
The beggining string needs to be specific too
Just use
\d$
to check your string ends with a digit
If you want your string to be a "c" followed by some digits, use
c\d+$