I\'m trying to extract a specific information from different html pages. Basically the information is a 10 digits number which may have different forms such :
000
This will match on all three examples you listed.
(\d{3}\s*-?\s*\d{3}\s*-?\s*\d{4})