What does d+ mean in regular expression terms?

d is called a character class and will match digits. It is equal to [0-9].
+ matches 1 or more occurrences of the character before.
So d+ means match 1 or more digits.

Posted in PHP | Tagged , | 1 Comment

One Response to What does d+ mean in regular expression terms?

  1. Pingback: Blog Anonymous: We are legion! » Page not found