>>> Ben Crane <[EMAIL PROTECTED]> 28.05.2003 13:24:28 >>>
>Anyone know how to match characters that occur within
>a set of other characters?
>e.g: [15/ I want the 15...get [15/ using /\[(\d{2}\/)/
>which is what it gives me, but I want to match
>starting/ending characters anywhere within a string
>and take the value between the start/end characters?

Hmm... as far as i understood, you want all characters between [ and / .
you could use something like this

$string =~ s/\[(.*)\//$1/;
(untested)


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to