• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Writting style of Regex Syntax in Textarea

Writting style of Regex Syntax in Textarea 12 years 5 months ago #19684

  • dtakai
  • dtakai's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello,

I can not well that I want to restrict the characters available in Textarea.

For example, but I want to use only lowercase characters, digits, and hyphens, how do I write.

Currently, my setting of a Textarea on Validations tab is below.

"Required" is "Yes"
"Regex Syntax" is "([a-z0-9-]+)"
"Validation Rule" is "Regex"

In this setting, the characters such as '=' and '@' is get through.

Is there any good idea?

Thanks,
The administrator has disabled public write access.

Re: Writting style of Regex Syntax in Textarea 12 years 5 months ago #19701

  • dtakai
  • dtakai's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Solved!

wrong "([a-z0-9-]+)"
answer "#^[a-z0-9-]+$#"

Thanks,
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!