Alex Rivera | Logout

regex implementation to replace group with its lowercase version

Asked 2009-01-09T10:43:30.310
70

Is there any implementation of regex that allow to replace group in regex with lowercase version of it?

Edit
Report

1 Answer

2

Most Regex implementations allow you to pass a callback function when doing a replace, hence you can simply return a lowercase version of the match from the callback.

answered 2009-01-09T10:50:39.190

Your Answer