I have a string like that: $string = "Save 20% on iPhone chargers..."; How can I pregmatch the number before the '%' sign? In this case - '20'. The percentage can be anywhere in the string.