user1035996
user1035996

Reputation: 21

Deleting special characters

To delete a special character from a text field, eg {'~;}, is it faster to use Regular Expression or to create a logic program?

Upvotes: 0

Views: 144

Answers (1)

sq33G
sq33G

Reputation: 3360

If you're not sure how to go about this, then you'll probably find it easier to use logic. On the other hand, you're likely to learn a lot more by using a Regex.

And as Marc Gravell said, your best bet may well be String.Replace

Upvotes: 1

Related Questions