471,330 Members | 1,194 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

trouble with some regular expression pattern matching

Hi,

im having some trouble with reg expression pattern matching for
something i think should be a straightforward test.
Im validating the text being entered in a winforms textbox and i need
to bring up a message in a validation test if these patterns are found
in the text enetered in the text box.
specifcially this combination --- {:}
or

this combination -- <anychar{ <anychar } <anychar>

so it will detect any text input where an open left braces and closed
right braces any where in the string in the above orientation. Is just
one brace of either type is entered it should NOT be detected.
Cany anyone help or point me in the right direction for the correct
regex pattern matching.
i was thinking "*{*}*" should work.

And extactly what are these "{ }" bracket types called are they
braces ? or brackets and what is there enum identifier in the c# Keys
keydata enums ?

thanks for any help

Peted

Jun 27 '08 #1
0 835

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Joh | last post: by
6 posts views Thread by championsleeper | last post: by
5 posts views Thread by Amy L. | last post: by
14 posts views Thread by olekristianvillabo | last post: by
25 posts views Thread by Mike | last post: by
3 posts views Thread by shapper | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.