0
Welcome Guest! Login
0 items Join Now

Help with regular expressions

    • ratauy's Avatar
    • ratauy
    • Newbie
    • Posts: 19
    • Thanks: 0

    Help with regular expressions

    Posted 15 years 6 months ago
    • Hi!
      Im trying to do a string validation with regular expressions. But i cant figure it out yet so i come here for a little help...
      What i want to do is validate this format of str
      0-9 space 0-9 space 0-9 space 0-9 space (+ or -)
      so one example 3 2 3 3 + or 4 3 2 2 -
      the trouble is with the plus and minus character, i have to validate one or another. A kind of OR betwen + or -
      any ideas??
      thanks!
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Help with regular expressions

    Posted 15 years 6 months ago
    • Is this validation with some type of 3rd party component?

      If so, have you asked on the forum of the component's developer?

      (I ask because I needed custom validation for a form component and the developer had me sorted within an hour.)
    • Thanks,
      jim
    • ratauy's Avatar
    • ratauy
    • Newbie
    • Posts: 19
    • Thanks: 0

    Re: Help with regular expressions

    Posted 15 years 6 months ago
    • Im programing in Java.
      This is a university project, not joomla in it.
      thanks
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Help with regular expressions

    Posted 15 years 6 months ago
    • OK, well someone here may know.

      Good luck!!
    • Thanks,
      jim

Time to create page: 0.061 seconds