Regular expression

$x=“On February 13, 2009, at exactly 23:31:30 (UTC) the decimal representation of Unix time was equal to 1234567890. Parties and other celebrations were held around the world, among various technical subcultures, to celebrate this day.”

need Output as

Output to the browser all numbers greater than 4 digits contained in the given input text using PHP.

Use only regular expressions

please help!!!

homework question?

bulls eye

Try using this Cheat Sheets - Added Bytes by Dave Child and look for the regex. I have it printed out and by my desk at all times.

@lorenw — thanks for trying to help…

thought that it is place where we get help regardless whether it is for homework or development… i came here to get some help but surprised to see the response i got…really sad…

in only figured out my problem…

preg_match_all(‘/[^0-4a-zA-Z\s\.\:\;\,\(\)]/’, $e,$r);
var_dump($r);

am not sure how far it s good…but t works for me…

@aamonkey…dont try to be a monkey…be human and try to help others wen neded…

If we give you the answers, and you just regurgitate them for a grade, you havent learnt anything.

@jeethuthomas pls send me the answers what ever you know in that questions…
it would be helpful to me a lot…
kindly plz do me the needful