velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faour, Samer (CA - Toronto)" <>
Subject RE: Regex in Velocity templtes
Date Tue, 05 Apr 2011 13:51:45 GMT
Thanks Guys.

I'm developing a template for a client and just need basic functionality.
I would need the JDK installed on the target system, right?
The runtimes are not sufficient. Just want to confirm.


-----Original Message-----
From: Sergiu Dumitriu [] On Behalf Of Sergiu Dumitriu
Sent: Tuesday, April 05, 2011 9:22 AM
To: Velocity Users List
Subject: Re: Regex in Velocity templtes

On 04/05/2011 02:40 PM, Rachid wrote:
> By default you can use the regex functions of the Java String object.
> See for example:
> And search for 'regex'

Or, if you want access to more advanced stuff, you can use a custom 
velocity tool, such as

> On Tue, Apr 5, 2011 at 2:35 PM, Faour, Samer (CA - Toronto)<
>>  wrote:
>> Hi,
>> Is it possible to use Regex in Velocity Templates?
>> And if so, are there any prerequisites?
>> Thanks,
>> Samer
>> Samer Faour
>> Consultant | Information&  Technology Risk Solutions
>> Deloitte
>> Commerce Court South, 30 Wellington Street West,
>> P.O. Box 400 Stn Commerce, Toronto, ON M5L 1B1, Canada
>> Mobile 647-989-3910 | Direct 416-775-8833 | Fax 416-601-6400
>><>  |
>> Deloitte is proud to be an Official Supplier of the Canadian Olympic team
>> Please consider the environment before printing.

Sergiu Dumitriu

To unsubscribe, e-mail:
For additional commands, e-mail:

Confidentiality Warning: This message and any attachments are
intended only for the use of the intended recipient(s), are
confidential, and may be privileged. If you are not the intended
recipient, you are hereby notified that any review, retransmission,
conversion to hard copy, copying, circulation or other use of this
message and any attachments is strictly prohibited. If you are not
the intended recipient, please notify the sender immediately by
return e-mail, and delete this message and any attachments from
your system. Thank you.	
View raw message