Thread Zahlen bestimmter Größe im Text finden: RegEx Parser
(13 answers)
Opened by Gast at 2007-03-06 18:30
[quote=topeg,06.03.2007, 21:08]Das findet alle Zahlen von 0 bis 53:
Code (perl): (dl
)
my @zahlen=$string=~/\D([1234]?\d|5[0123])\D/gc; matched aber nicht 001 002 003 ... 053\n\n <!--EDIT|opi|1173274349--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |