TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Christopher Ng
NA
5
438
Regex replace, maximum length and unicode support
Jul 2 2020 2:35 AM
I am using
fs = Regex.Replace(s, ss, sr);
In s: ????(4 non english characters)
In ss: ?(.{1,2})?
In sr: ??
The problem is, it needs (.{1,6}) instead of (.{1,2}) to replace it.
How do I get something like '\p{L}' into that regex.replace so that each letter from any language is a single length?
EDIT: how do I get this form to support non english characters?
Reply
Answers (
3
)
Function within Model [.NET Core 3.1 web application]
Error 1 'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is i