Assuming \
is not at the first position of a match you may use this regex:
[^,<>\\]+(?:\\.[^,<>\\]*)*
RegEx Details:
[^,<>\\]+
: Match 1 or more of any character that are not inside the the [...]
\\.
match any escaped characterIf \
can be at first position then you may use:
(?:\\.|[^,<>\\]+)+
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.