To teach a php regular expression

61 2

Matches the following combination, the order cannot be changed

@ +> chinese digital underline or bar '+ space '

For example:

At the end of @ abc_bcd <, there's only one space.

Or or

I'm @. I'm at the end of my <. There's only one space.

1 Answers

137 1
/@([w-]+|[^x00-xffs]+)s(?!s)[^s]*/

The will use it.

...