Try:
<param name="regex">[^<>]+</param>
(*Chris*)
On Tue, Mar 19, 2013 at 3:50 PM, Muralidhar Yaragalla <
[email protected]> wrote:
> This is how i did
>
> <!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.2//EN" "
> http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
> <validators>
> <field name="votingTopic.votingTopic">
> <field-validator type="regex">
> <param name="expression"><![CDATA[[^<>]+]]></param>
> <message>The value of bar2 must be in the format <![CDATA[<>]]>
> where x and y are between 0 and 9</message>
> </field-validator>
> </field>
> </validators>
>
> Almost I have tried all the suggested combination by the members. It did
> not work.
>
>
> On Wed, Mar 20, 2013 at 3:59 AM, Lukasz Lenart <[email protected]
> >wrote:
>
> > 2013/3/19 Muralidhar Yaragalla <[email protected]>:
> > > are u asking me to show how i have written custom validator for regex?
> >
> > Nope, how did you configure built-in regex validator, the
> *-validation.xml
> > file
> >
> >
> > Regards
> > --
> > Ćukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> Thanks And Regards,
> *Muralidhar Yaragalla.
> *
>