
yaniv_av
Novice
Nov 4, 2002, 3:14 AM
Post #1 of 3
(189 views)
|
|
regular expressions ...
|
Can't Post
|
|
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 pattern /a=.* / (into an array) But I want only the expression a=*. and that's all (gready selection) In this case I want to get as the result an array that contain: @result=("a=13","a=15","a=998") How can I do that ?
|