Zum Hauptinhalt gehen

File Picker - Regular Expression

Kommentare

4 Kommentare

  • Ryan Cooney

    In Silverlight the Regular Expression validator does not run on File Picker results. Only the Required and File Size validators apply.

    --Ryan

    0
  • Ryan Kelley

    No problem. I'll just strip out the bad characters after the file name is decided.

    0
  • Ryan Kelley

    Can anyone offer some quick reg expression support to disallow all special characters except a period?

    Say I have "Miss?@.png" as my fileName - how do I get it to "Miss.png" ? I have been trying to figure out how to allow alpha numeric characters and a period only.

    0
  • Ryan Kelley

    I think this should do it:

    "[)(?*"",\\<>&#~%{}+_@:\/!;$^]+"

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.