you can buy a single string of the same gauge.
not all brands have single strings so depending what you have on the guitar you may not get an exact match.
Buy 2 packs next time you change strings
Not expensive
Also depending how long you've had them on the guitar it might be worth changing the whole set anyway so all strings have same wear conditions
Dave