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?

Laxmidhar SahooRank #383 · 6.6K reputationPosted Jul 1, 2020, 11:36 PM EDT
Christopher Ng5 reputationPosted Jul 2, 2020, 1:29 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jul 3, 2020, 12:50 AM EDT