Re: extract variables from expression
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Sat, 29 Apr 2006 15:04:03 +0200
alexjaquet@xxxxxxxxx wrote:
Does somebody know how to extract some variables from this expression :
[quote=alexandre]Ceci est un testttttt[/quote]
I want to extract the values alexandre and the text "Ceci est un test"
and I can have multiple quoted expression :
[quote=alexandre]Ceci est un testttttt[/quote]
[quote=tester]response[/quote]
You can use a regular expression.
perldoc perlrequick
perldoc perlretut
perldoc perlre
Please read the posting guidelines for this group: http://groups.google.com/group/comp.lang.perl.misc/msg/b1b69d3cbfeaa440
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- extract variables from expression
- From: alexjaquet
- extract variables from expression
- Prev by Date: FAQ 5.30 How can I tell whether there's a character waiting on a filehandle?
- Next by Date: Re: share a session between two website
- Previous by thread: Re: extract variables from expression
- Next by thread: share a session between two website
- Index(es):