79417814

Date: 2025-02-06 12:03:54
Score: 1.5
Natty:
Report link

I want the regex to match if "aFrom" in any way connected to another string or encapsulated by it.

So $@"(?<=\S){aFrom}|{aFrom}(?=\S)" should work for you: it checks if aFrom is preceded and/or followed by a non space character

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DPD-