I have messages formatted as follows:
Character Name > <url=fitting:11978:14240;1:31366;1:1447;2:31952;1:14136;1:31378;1:2104;2:3608;4:12058;1:31932;1:2488;6:29001;5::>He Dead :(</url> asdf asefase 351235125
I want to filter this:
:11978:14240;1:31366;1:1447;2:31952;1:14136;1:31378;1:2104;2:3608;4:12058;1:31932;1:2488;6:29001;5::
If I just limit it to numbers and ;and :, it will also catch the numbers in the message and the timestamp in the message (another from time to time there), so this does not work properly.
I also want to be able to capture data if this is the only thing there is at the input:
:11978:14240;1:31366;1:1447;2:31952;1:14136;1:31378;1:2104;2:3608;4:12058;1:31932;1:2488;6:29001;5::
Sometimes the first one :does not exist either.
Any ideas how best to filter this out? I am a little puzzled by the regex.
EDIT: Another example
[04:04:55] Morpheus Deathbrew > is this okay? it cap stable <url=fitting:11978:14240;1:2032;1:31366;1:1447;2:2281;1:31952;1:14136;1:31378;1:2104;1:3608;4:12058;1:2488;6:29001;6::>He Dead :(</url>
, . , POSSIBLY , :: . , , :: ? , , ; : ::?