Jump to content

extract only alpha characters from a string


poe

Recommended Posts

i will have a string that is for sports scores and is shown  as:

outcome(w,l,t,so,nd) team score : opp score

so it would look like:
[a-z] [0-9] : [0-9]

ie. w14:3
OR l16:21
OR so4:3
OR t6:6
etc...


i want to add a `:` after the outcome

ie..  w:7:3
how do i add a : after the alpha charactert(s)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.