
yaniv_av
Novice
Nov 7, 2002, 11:31 PM
Post #1 of 2
(2224 views)
|
a regular regular expression ...
|
|
|
suppose I have the string: "a=13 ytr hg a=15 bry dga=19gg a=998 p" I want to get all the occurences of the numbers that containned in the pattern /a=.* / (into an array) But I want only the numbers and that's all (gready selection) In this case I want to get as the result an array that contain: @result=(13,15,998) How can I do that ?
|