I have this string
@[123:peterwateber] hello there 095032sdfsdf! @[589:zzzz]
I want to get 123 and 589 how do you that using regular expression or something in PHP?
Note: peterwateber and zzzz are just examples. any random string should be considered