Hi, Can somebody help me to find a good regex for my code? Onliy numbers, no text. in visualbasic, it's: Look: (.+?) do (.+) small (.+) big (.+) PHP: I search it in PHP. Thanks for helping me.
[0-9]+ (1 or more numbers) [0-9]* (0 or more numbers) Instead of hardcoding spaces you may also want to use \s* or \s+ (captures any whitespace)